ContentControl.ParentContentControl Property (2007 System)
Gets the parent content control of a ContentControl that is nested in another content control.
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 ParentContentControl As ContentControl
'Usage
Dim instance As ContentControl
Dim value As ContentControl
value = instance.ParentContentControl
public ContentControl ParentContentControl { get; }
public:
property ContentControl^ ParentContentControl {
ContentControl^ get ();
}
public function get ParentContentControl () : ContentControl
Property Value
Type: ContentControl
A ContentControl that represents the content control in which the ContentControl is nested; nulla null reference (Nothing in Visual Basic) if the ContentControl is not nested in another content control.
Remarks
The RichTextContentControl and GroupContentControl controls are the only types of content controls that can contain nested content controls.
.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.