Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: IEnumerable<XElement> ElementsI(this XContainer, string)

Declaration

public static IEnumerable<XElement> ElementsI(
    this XContainer element,
    string name
)

Summary

Returns a filtered collection of the child elements of this element or document, in document order. Only elements that have the specified local name (ignoring the namespace) are included in the collection.

Parameters

this XContainerelement XML element to search.
stringname The name to match.

Returns

The first element found or null if no such element exists.