Extensions.DescendantNodesAndSelf(IEnumerable<XElement>) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ソース コレクション内のすべての要素と、ソース コレクション内のすべての要素の子孫ノードを含むノードのコレクションを返します。
public:
[System::Runtime::CompilerServices::Extension]
static System::Collections::Generic::IEnumerable<System::Xml::Linq::XNode ^> ^ DescendantNodesAndSelf(System::Collections::Generic::IEnumerable<System::Xml::Linq::XElement ^> ^ source);
public static System.Collections.Generic.IEnumerable<System.Xml.Linq.XNode> DescendantNodesAndSelf(this System.Collections.Generic.IEnumerable<System.Xml.Linq.XElement> source);
public static System.Collections.Generic.IEnumerable<System.Xml.Linq.XNode> DescendantNodesAndSelf(this System.Collections.Generic.IEnumerable<System.Xml.Linq.XElement?> source);
static member DescendantNodesAndSelf : seq<System.Xml.Linq.XElement> -> seq<System.Xml.Linq.XNode>
<Extension()>
Public Function DescendantNodesAndSelf (source As IEnumerable(Of XElement)) As IEnumerable(Of XNode)
パラメーター
- source
- IEnumerable<XElement>
ソース コレクションを含むIEnumerable<T>のXElement。
返品
ソース コレクション内のすべての要素と、ソース コレクション内のすべての要素の子孫ノードを含むIEnumerable<T>のXNode。
注釈
Visual Basicには子孫要素の統合 XML 軸がありますが、子孫ノードには統合された軸がないため、ユーザー Visual Basicこの軸メソッドを明示的に使用する必要があります。
このメソッドでは、遅延実行が使用されます。