Method ExtXml.Elem
Overload
Gets the first found direct child element that has the specified attribute or value.
public static XElement Elem(this XElement t, XName name, XName attributeName, string attributeValue = null, bool ignoreCase = false)
Parameters
| t (XElement) |
|
name (XName)
Element name. If |
|
attributeName (XName)
Attribute name. If |
|
attributeValue (string)
Attribute value (or Value). If |
|
ignoreCase (bool)
Case-insensitive attributeValue. |
Returns
|
XElement
|