GetVariable

GetVariable(object)

public object GetVariable(object defaultValue) ;

Description

Get Variable value

Parameters

Parameter Name Description
defaultValue Default value. Returned if acquisition failed.

Returns

Value of Variable. If acquisition fails, it returns defaultValue.

GetVariable<TVariable>(TVariable)

public TVariable GetVariable<TVariable>(TVariable defaultValue) ;

Description

Get Variable value

Type Parameters

Type Parameter Name Description Type Constraints
TVariable Variable value type

Parameters

Parameter Name Description
defaultValue Default value. Returned if acquisition failed.

Returns

Value of Variable. If acquisition fails, it returns defaultValue.

GetVariable<TVariable>(ref TVariable)

Obsolete public bool GetVariable<TVariable>(ref TVariable value) ;

Description

Get Variable value

Type Parameters

Type Parameter Name Description Type Constraints
TVariable Variable value type

Parameters

Parameter Name Description
value Value

Returns

Succeeds if true, failure if false