BuildMaster SDK Reference
Version:

FormatVariableName(string variableName, string variableSupportCode) Method

Returns a minimally-escaped formatted variable name.

Syntax

public static string FormatVariableName(string variableName, string variableSupportCode)

Parameters

variableName
Type: string

The name of the variable.

variableSupportCode
Type: string

The type of variable support to use.

Returns

The formatted variable name.

Exceptions

System.ArgumentNullException

variableName is null (Nothing in Visual Basic) or empty or variableSupportCode is null (Nothing in Visual Basic) or empty.

System.ArgumentException

variableName has invalid characters or variableSupportCode is not a valid value.