# Get Method

## Overloads

| [Get<T>(String)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IAbstractStructure.Get.htm#Qlik_Engine_IAbstractStructure_Get__1_System_String_) |  | Retrieves a property of the abstract structure and inteprets it as an object of type T. |
| --- | --- | --- |
| [Get<T>(String, T)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IAbstractStructure.Get.htm#Qlik_Engine_IAbstractStructure_Get__1_System_String___0_) |  | Retrieves an element of the abstract structure and interprets it as an object of type T. |

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

## Get&lt;T&gt;(String)

Retrieves a property of the abstract structure and inteprets it as an object of type T.

### Declaration

```

          T Get<T>(string propertyName)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | propertyName | Name of property |

### Returns

| Type | Description |
| --- | --- |
| T | Property structure deserialized as type T. |

### Type Parameters

| Name | Description |
| --- | --- |
| T | The expected type of the property object. |

### Exceptions

| Type | Condition |
| --- | --- |
| [InvalidPropertyAccessException](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.InvalidPropertyAccessException.htm) | Thrown if the property has previously been interpreted as a type incompatible to T. |

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

## Get&lt;T&gt;(String, T)

Retrieves an element of the abstract structure and interprets it as an object of type T.

### Declaration

```

          T Get<T>(string propertyName, T defaultValue)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | propertyName | Name of property. |
| T | defaultValue | Default value for property if not set in structure. |

### Returns

| Type | Description |
| --- | --- |
| T | Property structure deserialized as type T. |

### Type Parameters

| Name | Description |
| --- | --- |
| T | The expected type of the property object. |

### Exceptions

| Type | Condition |
| --- | --- |
| [InvalidPropertyAccessException](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.InvalidPropertyAccessException.htm) | Thrown if the property has previously been interpreted as a type incompatible to T. |