NumOfRules method

The NumOfRules method returns the number of rules that is within a SetupNode object.

Syntax

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

Arguments

None

Returns

The number of rules in this SetupNode object.

Applies to

All node types

C# Example

This example returns the number of rules that is contained in the current SetupNode object.
int nNumRules = m_oDCOSetupNode.NumOfRules();