ContentControl.Parent Property (2007 System)
Gets the parent of the ContentControl.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
Public ReadOnly Property Parent As Object
'Usage
Dim instance As ContentControl
Dim value As Object
value = instance.Parent
public Object Parent { get; }
public:
property Object^ Parent {
Object^ get ();
}
public function get Parent () : Object
Property Value
Type: System.Object
An object that represents the parent of the ContentControl.
Remarks
The parent of the ContentControl is the object in which the control is contained. For example, if the control is in the body of the document, this property will return a Document object.
To get the parent of a ContentControl that is contained in a RichTextContentControl or a GroupContentControl, use the ParentContentControl property.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.