NumOfVariables Method

The NumOfVariables method returns the number of variables that is within a SetupNode object.

Description

This method returns user-defined variables and standard variables. (For more information, see the Standard Variable Reference).

Syntax

VBScript
oSNO.NumOfVariables ( ) as Long
C#
int NumOfVariables()

Arguments

None

Returns

The number of variables in this SetupNode object.

C# Example

The following example returns the number of rules within the current SetupNode object:
int nNumVars = m_oDCOSetupNode.NumOfVariables();