共用方式為


RichTextContentControl.Parent Property

Definition

Gets the parent of the RichTextContentControl.

public:
 property System::Object ^ Parent { System::Object ^ get(); };
public object Parent { get; }
member this.Parent : obj
Public ReadOnly Property Parent As Object

Property Value

An object that represents the parent of the RichTextContentControl.

Remarks

The parent of the RichTextContentControl 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 Microsoft.Office.Interop.Word.Document object.

To get the parent of a RichTextContentControl that is contained in another RichTextContentControl or a GroupContentControl, use the ParentContentControl property.

Applies to