GetVariable

public object GetVariable(object defaultValue) ;

Get Variable value

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

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

public TVariable GetVariable<TVariable>(TVariable defaultValue) ;

Get Variable value

Type Parameter Name Description Type Constraints
TVariable Variable value type
Parameter Name Description
defaultValue Default value. Returned if acquisition failed.

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

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

Get Variable value

Type Parameter Name Description Type Constraints
TVariable Variable value type
Parameter Name Description
value Value

Succeeds if true, failure if false