Extensions Methods

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The Extensions type exposes the following members.

Methods

  Name Description
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Ancestors<T>(IEnumerable<T>) Returns a collection of elements that contains the ancestors of every node in the source collection.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Attributes(IEnumerable<XElement>) Returns a collection of the attributes of every element in the source collection.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 DescendantNodes<T> Returns a collection of the descendant nodes of every document and element in the source collection.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Descendants<T>(IEnumerable<T>) Returns a collection of elements that contains the descendant elements of every element and document in the source collection.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Elements<T>(IEnumerable<T>) Returns a collection of the child elements of every element and document in the source collection.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 InDocumentOrder<T> Returns a collection of nodes that contains all nodes in the source collection, sorted in document order.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Nodes<T> Returns a collection of the child nodes of every document and element in the source collection.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Remove(IEnumerable<XAttribute>) Removes every attribute in the source collection from its parent element.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Remove<T>(IEnumerable<T>) Removes every node in the source collection from its parent node.

Top