次の方法で共有


DocumentTreeManager.GetPropertyContainer メソッド

更新 : 2007 年 11 月

この API は、.NET Framework インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

このプロパティを含む項目を返します。

名前空間 :  Microsoft.Windows.Design.Documents.Trees
アセンブリ :  Microsoft.Windows.Design.Markup (Microsoft.Windows.Design.Markup.dll 内)

構文

'宣言
Protected Overridable Function GetPropertyContainer ( _
    documentProperty As DocumentProperty _
) As DocumentItem
'使用
Dim documentProperty As DocumentProperty
Dim returnValue As DocumentItem

returnValue = Me.GetPropertyContainer(documentProperty)
protected virtual DocumentItem GetPropertyContainer(
    DocumentProperty documentProperty
)
protected:
virtual DocumentItem^ GetPropertyContainer(
    DocumentProperty^ documentProperty
)
protected function GetPropertyContainer(
    documentProperty : DocumentProperty
) : DocumentItem

パラメータ

戻り値

型 : Microsoft.Windows.Design.Documents.Trees.DocumentItem

このプロパティを含む項目。決定できない場合は nullnull 参照 (Visual Basic では Nothing)。

解説

FindNode メソッドをオーバーライドして値を返すドキュメントは、返されるプロパティを含む項目を返すことができるようにする必要があります。

アクセス許可

  • 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

DocumentTreeManager クラス

DocumentTreeManager メンバ

Microsoft.Windows.Design.Documents.Trees 名前空間

その他の技術情報

WPF デザイナの機能拡張