Declaration
public static XAttribute AttributeI(
this XElement element,
string name
)
Summary
Returns the first attribute of this element that has the specified local name (ignoring the namespace).
Parameters
this XElement | element |
XML element to search. |
string | name |
The name to match. |
Returns
The first attribute if found or
null
if no such attribute exists.