Click or drag to resize
AbstractStructureGetT Method (String, T)
Retrieves an element of the abstract structure and interprets it as type T.

Namespace: Qlik.Engine
Assembly: Qlik.Engine (in Qlik.Engine.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntax
public T Get<T>(
	string propertyName,
	T defaultValue
)

Parameters

propertyName
Type: SystemString
Name of property.
defaultValue
Type: T
default value for property if not set in structure.

Type Parameters

T
The expected type of the property object.

Return Value

Type: T
Structure property
Exceptions
ExceptionCondition
InvalidPropertyAccessExceptionThrown if the property has previously been interpreted as a type incompatible to T.
See Also