Parent

The Parent method returns the parent of the runtime DCO object.

Syntax

VBScript
oDCO.Parent as oDCO Object
C#
TDCOLib.DCO Parent()

Arguments

None

Returns

The parent object, or nothing (null) if the method is applied to a batch object.

Applies to

All objects except batch

Example

VBScript
If oField.Parent = Nothing Then
msgbox "Cannot access the page!"
End if