共用方式為


BuildingBlockGalleryContentControl.ParentContentControl Property

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

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
ReadOnly Property ParentContentControl As ContentControl
ContentControl ParentContentControl { get; }

Property Value

Type: Microsoft.Office.Interop.Word.ContentControl
A Microsoft.Office.Interop.Word.ContentControl that represents the content control in which the BuildingBlockGalleryContentControl is nested; nulla null reference (Nothing in Visual Basic) if the BuildingBlockGalleryContentControl 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

See Also

Reference

BuildingBlockGalleryContentControl Interface

Microsoft.Office.Tools.Word Namespace