NumOfVars method

The NumOfVars method returns the number of variables that is associated with the runtime DCO object.

Syntax

VBScript
oDCO.NumOfVars as Long
C#
int NumOfVars()

Arguments

None

Returns

A count of the variables of the object

Applies to

All objects

Example

This example returns the number of variables that is associated with the Vendor field.

int nNumVars = m_oDCO.FindChild("TM000001").FindChild("Vendor").NumOfChildren();