# IListObjectDef Interface

Namespace: [Qlik.Engine](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.htm)  
Assembly: Qlik.Engine.dll

Defines the properties of a list object.

For more information about the definition of a list object, see `Generic object`.

## Syntax

```
[ValueClass]
public interface IListObjectDef : IAbstractStructure
```

## Properties

| Name | Description |
| --- | --- |
| [AutoSortByState](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IListObjectDef.AutoSortByState.htm#Qlik_Engine_IListObjectDef_AutoSortByState) | Defines the sorting by state.<br><br>JSON property name: qAutoSortByState |
| [Def](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IListObjectDef.Def.htm#Qlik_Engine_IListObjectDef_Def) | Refers to a dimension stored in the list object.<br><br>JSON property name: qDef |
| [DirectQuerySimplifiedView](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IListObjectDef.DirectQuerySimplifiedView.htm#Qlik_Engine_IListObjectDef_DirectQuerySimplifiedView) | If set to true, reduces the set of states returned.<br><br>Supported for Direct Query mode only.<br><br>Default is false.<br><br>JSON property name: qDirectQuerySimplifiedView |
| [Expressions](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IListObjectDef.Expressions.htm#Qlik_Engine_IListObjectDef_Expressions) | Lists the expressions in the list object.<br><br>This parameter is optional.<br><br>JSON property name: qExpressions |
| [FrequencyMode](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IListObjectDef.FrequencyMode.htm#Qlik_Engine_IListObjectDef_FrequencyMode) | Defines the frequency mode. The frequency mode is used to calculate the frequency of a value in a list object.<br><br>Default is `NX_FREQUENCY_NONE` .<br><br>This parameter is optional.<br><br>JSON property name: qFrequencyMode |
| [InitialDataFetch](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IListObjectDef.InitialDataFetch.htm#Qlik_Engine_IListObjectDef_InitialDataFetch) | Fetches an initial data set.<br><br>JSON property name: qInitialDataFetch |
| [LibraryId](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IListObjectDef.LibraryId.htm#Qlik_Engine_IListObjectDef_LibraryId) | Refers to a dimension stored in the library.<br><br>JSON property name: qLibraryId |
| [ShowAlternatives](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IListObjectDef.ShowAlternatives.htm#Qlik_Engine_IListObjectDef_ShowAlternatives) | If set to true, alternative values are allowed in `qData` .<br><br>If set to false, no alternative values are displayed in `qData` . Values are excluded instead.<br><br>The default value is false.<br><br>Note that on the contrary, the `qStateCounts` parameter counts the excluded values as alternative values.<br><br>This parameter is optional.<br><br>JSON property name: qShowAlternatives |
| [StateName](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IListObjectDef.StateName.htm#Qlik_Engine_IListObjectDef_StateName) | Name of the alternate state.<br><br>Default is current selections `$` .<br><br>JSON property name: qStateName |