Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Extensions Methods

Extensions Methods

The Extensions type exposes the following members.

  Name Description
Public method Static member Supported by the XNA Framework Supported by Portable Class Library Ancestors<T>(IEnumerable<T>) Returns a collection of elements that contains the ancestors of every node in the source collection.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library Ancestors<T>(IEnumerable<T>, XName) Returns a filtered collection of elements that contains the ancestors of every node in the source collection. Only elements that have a matching XName are included in the collection.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library AncestorsAndSelf(IEnumerable<XElement>) Returns a collection of elements that contains every element in the source collection, and the ancestors of every element in the source collection.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library AncestorsAndSelf(IEnumerable<XElement>, XName) Returns a filtered collection of elements that contains every element in the source collection, and the ancestors of every element in the source collection. Only elements that have a matching XName are included in the collection.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library Attributes(IEnumerable<XElement>) Returns a collection of the attributes of every element in the source collection.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library Attributes(IEnumerable<XElement>, XName) Returns a filtered collection of the attributes of every element in the source collection. Only elements that have a matching XName are included in the collection.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library DescendantNodes<T> Returns a collection of the descendant nodes of every document and element in the source collection.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library DescendantNodesAndSelf Returns a collection of nodes that contains every element in the source collection, and the descendant nodes of every element in the source collection.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library Descendants<T>(IEnumerable<T>) Returns a collection of elements that contains the descendant elements of every element and document in the source collection.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library Descendants<T>(IEnumerable<T>, XName) Returns a filtered collection of elements that contains the descendant elements of every element and document in the source collection. Only elements that have a matching XName are included in the collection.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library DescendantsAndSelf(IEnumerable<XElement>) Returns a collection of elements that contains every element in the source collection, and the descendent elements of every element in the source collection.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library DescendantsAndSelf(IEnumerable<XElement>, XName) Returns a filtered collection of elements that contains every element in the source collection, and the descendents of every element in the source collection. Only elements that have a matching XName are included in the collection.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library Elements<T>(IEnumerable<T>) Returns a collection of the child elements of every element and document in the source collection.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library Elements<T>(IEnumerable<T>, XName) Returns a filtered collection of the child elements of every element and document in the source collection. Only elements that have a matching XName are included in the collection.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library InDocumentOrder<T> Returns a collection of nodes that contains all nodes in the source collection, sorted in document order.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library Nodes<T> Returns a collection of the child nodes of every document and element in the source collection.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library Remove(IEnumerable<XAttribute>) Removes every attribute in the source collection from its parent element.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library Remove<T>(IEnumerable<T>) Removes every node in the source collection from its parent node.
Top
Show:
© 2015 Microsoft