次の方法で共有


DocumentTreeManager.FindChildIdentitiesBetween メソッド

更新 : 2007 年 11 月

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

指定した範囲でツリーから ID を検索します。

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

構文

'宣言
Protected Overridable Function FindChildIdentitiesBetween ( _
    collectionIdentity As Identity, _
    rangeStart As Identity, _
    rangeEnd As Identity _
) As IEnumerable(Of Identity)
'使用
Dim collectionIdentity As Identity
Dim rangeStart As Identity
Dim rangeEnd As Identity
Dim returnValue As IEnumerable(Of Identity)

returnValue = Me.FindChildIdentitiesBetween(collectionIdentity, _
    rangeStart, rangeEnd)
protected virtual IEnumerable<Identity> FindChildIdentitiesBetween(
    Identity collectionIdentity,
    Identity rangeStart,
    Identity rangeEnd
)
protected:
virtual IEnumerable<Identity^>^ FindChildIdentitiesBetween(
    Identity^ collectionIdentity, 
    Identity^ rangeStart, 
    Identity^ rangeEnd
)
protected function FindChildIdentitiesBetween(
    collectionIdentity : Identity, 
    rangeStart : Identity, 
    rangeEnd : Identity
) : IEnumerable<Identity>

パラメータ

戻り値

型 : System.Collections.Generic.IEnumerable<Identity>

解説

このメソッドは、collectionIdentity で指定したコレクション内の ID を rangeStart の直後から rangeEnd の直前まで列挙します。rangeStart が nullnull 参照 (Visual Basic では Nothing) の場合、コレクション内の最初の項目は範囲に入ると見なされます。rangeEnd が nullnull 参照 (Visual Basic では Nothing) の場合、コレクション内の最後の項目は範囲に入ると見なされます。

このメソッドは、より効率的なノード検索機構を持つ FindNode メソッドを実装する子孫だけが実装します。このメソッドは、同じ情報を確認するためにドキュメント ノードを順次検索するのではなく、より効率的な機構を照会するために使用されます。このメソッドが実装されていない場合、以前のコレクション全体の反復処理による情報のコレクションが使用されます。

アクセス許可

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

参照

参照

DocumentTreeManager クラス

DocumentTreeManager メンバ

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

その他の技術情報

WPF デザイナの機能拡張