DeleteChild method
The DeleteChild method removes the specified child object from the runtime DCO object.
Syntax
- VBScript
oDCO.DeleteChild (nIndex subscript as Long ) as Boolean
- C#
bool DeleteChild(int nIndex)
Applies to
Any objectArguments
- nIndex
- Index of the child to delete, where 0 is the first child.
Returns
Returns true if successful; returns false if unsuccessful.C# example
This example removes the first field object of the runtime page object.m_oDCOPage.DeleteChild(0);