BuildMaster SDK Reference
Version:

TryGetFunctionValue(string functionName, Inedo.ExecutionEngine.RuntimeValue[] args) Method

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

Syntax

public abstract Inedo.ExecutionEngine.RuntimeValue? TryGetFunctionValue(string functionName, Inedo.ExecutionEngine.RuntimeValue[] args)

Parameters

functionName
Type: string

The name of the function.

args
Type: Inedo.ExecutionEngine.RuntimeValue[]

Arguments to pass to the function.

Returns

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