BuildMaster SDK Reference
Version:

TryGetVariableValue(string 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(string variableName)

Parameters

variableName
Type: string

The name of the variable.

Returns

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