XElementExtensions Class |
Namespace: CMS.Helpers
public static class XElementExtensions
The XElementExtensions type exposes the following members.
Name | Description | |
---|---|---|
GetAttribute |
Gets the attribute of element element given by attributeName.
Ignores case in attribute name and defined namespace.
| |
GetAttributeStringValue |
Gets the attribute value as string type from element source data given by attributeName.
If no attribute is found or source data are not provided returns defaultValue default value.
Ignores case in attribute name and defined namespace.
| |
GetAttributeValueT |
Gets the attribute value of T type of element element given by attributeName.
If no attribute is found or source data are not provided returns defaultValue default value.
Ignores case in attribute name and defined namespace.
| |
GetElement |
Gets the child element of element element given by elementName.
Ignores case in element name and defined namespace.
| |
GetElements |
Gets the child elements from element source XML data given by elementName.
Ignores case in element name and defined namespace.
|