Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: XElement ElementI(this XElement, string)

Declaration

public static XElement ElementI(
    this XElement element,
    string name
)

Summary

Gets the first (in document order) child element with the specified local name (ignoring the namespace).

Parameters

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

Returns

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