Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: XAttribute ChkAttribute(this XElement, XName)

Declaration

public static XAttribute ChkAttribute(
    this XElement element,
    XName name
)

Summary

Returns the first attribute matching "name", or if none, throws an exception to say which element was missing which attribute. This is a counterpart to XElement.Attribute(XName).