# IsKey Property

## Overloads

| [IsKey](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IDataField.IsKey.htm#Qlik_Engine_IDataField_IsKey) |  | Is set to true if the field is a primary key.<br><br>JSON property name: qIsKey |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IDataField.IsKey.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IDataField.IsKey.htm)

## IsKey

Is set to true if the field is a primary key.

JSON property name: qIsKey

### Declaration

```

          bool IsKey { get; set; }
    
  
```

### Property Value

| Type | Description |
| --- | --- |
| System.Boolean |  |