# Category Constructor

## Overloads

| [Category()](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.Category.-ctor.htm#PIX_QMSAPI_DataObjects_Category__ctor) |  |  |
| --- | --- | --- |
| [Category(Guid, String)](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.Category.-ctor.htm#PIX_QMSAPI_DataObjects_Category__ctor_System_Guid_System_String_) |  |  |

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

## Category()

### Declaration

```

          public Category()
    
  
```

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

## Category(Guid, String)

### Declaration

```

          public Category(Guid id, string name)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Guid | id |  |
| System.String | name |  |