RichTextContentControl.ParentContentControl プロパティ (2007 System)
更新 : 2007 年 11 月
別のコンテンツ コントロールに入れ子になっている RichTextContentControl の親コンテンツ コントロールを取得します。
名前空間 : Microsoft.Office.Tools.Word
アセンブリ : Microsoft.Office.Tools.Word.v9.0 (Microsoft.Office.Tools.Word.v9.0.dll 内)
構文
'宣言
<BrowsableAttribute(False)> _
Public ReadOnly Property ParentContentControl As ContentControl
'使用
Dim instance As RichTextContentControl
Dim value As ContentControl
value = instance.ParentContentControl
[BrowsableAttribute(false)]
public ContentControl ParentContentControl { get; }
プロパティ値
型 : Microsoft.Office.Interop.Word.ContentControl
RichTextContentControl が入れ子になっているコンテンツ コントロールを表す Microsoft.Office.Interop.Word.ContentControl。RichTextContentControl が別のコンテンツ コントロールに入れ子になっていない場合は nullnull 参照 (Visual Basic では Nothing)。
解説
入れ子になったコンテンツ コントロールを含むことのできるコンテンツ コントロールは、RichTextContentControl コントロールと GroupContentControl コントロールだけです。
アクセス許可
- 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。