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
NoneReturns
A count of the variables of the objectApplies to
All objectsExample
This example returns the number of variables that is associated with the Vendor field.
int nNumVars = m_oDCO.FindChild("TM000001").FindChild("Vendor").NumOfChildren();