# DocumentAttribute Constructor

## Overloads

| [DocumentAttribute()](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DocumentAttribute.-ctor.htm#PIX_QMSAPI_DataObjects_DocumentAttribute__ctor) |  |  |
| --- | --- | --- |
| [DocumentAttribute(DocumentAttribute)](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DocumentAttribute.-ctor.htm#PIX_QMSAPI_DataObjects_DocumentAttribute__ctor_PIX_QMSAPI_DataObjects_DocumentAttribute_) |  |  |
| [DocumentAttribute(String, String)](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DocumentAttribute.-ctor.htm#PIX_QMSAPI_DataObjects_DocumentAttribute__ctor_System_String_System_String_) |  |  |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DocumentAttribute.-ctor.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DocumentAttribute.-ctor.htm)

## DocumentAttribute()

### Declaration

```

          public DocumentAttribute()
    
  
```

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DocumentAttribute.-ctor.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DocumentAttribute.-ctor.htm)

## DocumentAttribute(DocumentAttribute)

### Declaration

```

          public DocumentAttribute(DocumentAttribute attribute)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [DocumentAttribute](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DocumentAttribute.htm) | attribute |  |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DocumentAttribute.-ctor.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DocumentAttribute.-ctor.htm)

## DocumentAttribute(String, String)

### Declaration

```
public DocumentAttribute(string name, string value)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | name |  |
| System.String | value |  |