共用方式為


GroupContentControl.ParentContentControl Property

Definition

Gets the parent content control of a GroupContentControl that is nested in another content control.

public:
 property Microsoft::Office::Interop::Word::ContentControl ^ ParentContentControl { Microsoft::Office::Interop::Word::ContentControl ^ get(); };
public Microsoft.Office.Interop.Word.ContentControl ParentContentControl { get; }
member this.ParentContentControl : Microsoft.Office.Interop.Word.ContentControl
Public ReadOnly Property ParentContentControl As ContentControl

Property Value

A ContentControl that represents the content control in which the GroupContentControl is nested; null if the GroupContentControl 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.

Applies to