Otter SDK Reference
Version:

TryGetVariableValue(Inedo.ExecutionEngine.RuntimeVariableName variableName) Method

Returns the value of the specified variable or null (Nothing in Visual Basic) if the variable is not defined.

Syntax

public abstract Inedo.ExecutionEngine.RuntimeValue? TryGetVariableValue(Inedo.ExecutionEngine.RuntimeVariableName variableName)

Parameters

variableName
Type: Inedo.ExecutionEngine.RuntimeVariableName

The name of the variable.

Returns

The value of the variable if it is defined; otherwise null (Nothing in Visual Basic).