Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: XElement ChkElement(this XContainer, XName)

Declaration

public static XElement ChkElement(
    this XContainer element,
    XName name
)

Summary

Returns the first element matching "name", or if none, throws an exception to say which element was missing which sub-element. This is a counterpart to XContainer.Element(XName).