Extensions Methods

Extensions Methods

 

Namespace:   System.Xml.Linq
Assembly:  System.Xml.Linq (in System.Xml.Linq.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAncestors<T>(IEnumerable<T>)

Returns a collection of elements that contains the ancestors of every node in the source collection.

System_CAPS_pubmethodSystem_CAPS_staticAncestors<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.

System_CAPS_pubmethodSystem_CAPS_staticAncestorsAndSelf(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.

System_CAPS_pubmethodSystem_CAPS_staticAncestorsAndSelf(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.

System_CAPS_pubmethodSystem_CAPS_staticAttributes(IEnumerable<XElement>)

Returns a collection of the attributes of every element in the source collection.

System_CAPS_pubmethodSystem_CAPS_staticAttributes(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.

System_CAPS_pubmethodSystem_CAPS_staticDescendantNodes<T>(IEnumerable<T>)

Returns a collection of the descendant nodes of every document and element in the source collection.

System_CAPS_pubmethodSystem_CAPS_staticDescendantNodesAndSelf(IEnumerable<XElement>)

Returns a collection of nodes that contains every element in the source collection, and the descendant nodes of every element in the source collection.

System_CAPS_pubmethodSystem_CAPS_staticDescendants<T>(IEnumerable<T>)

Returns a collection of elements that contains the descendant elements of every element and document in the source collection.

System_CAPS_pubmethodSystem_CAPS_staticDescendants<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.

System_CAPS_pubmethodSystem_CAPS_staticDescendantsAndSelf(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.

System_CAPS_pubmethodSystem_CAPS_staticDescendantsAndSelf(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.

System_CAPS_pubmethodSystem_CAPS_staticElements<T>(IEnumerable<T>)

Returns a collection of the child elements of every element and document in the source collection.

System_CAPS_pubmethodSystem_CAPS_staticElements<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.

System_CAPS_pubmethodSystem_CAPS_staticInDocumentOrder<T>(IEnumerable<T>)

Returns a collection of nodes that contains all nodes in the source collection, sorted in document order.

System_CAPS_pubmethodSystem_CAPS_staticNodes<T>(IEnumerable<T>)

Returns a collection of the child nodes of every document and element in the source collection.

System_CAPS_pubmethodSystem_CAPS_staticRemove(IEnumerable<XAttribute>)

Removes every attribute in the source collection from its parent element.

System_CAPS_pubmethodSystem_CAPS_staticRemove<T>(IEnumerable<T>)

Removes every node in the source collection from its parent node.

Return to top
Show:
© 2016 Microsoft