XmlUtilsGetRequiredAttribute Method (XmlElement, String) |
Gets the named attribute value. Throws an exception if the attribute
is not available.
Namespace:
PDTec.IceNet.Sdk.Utils
Assembly:
PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax public static string GetRequiredAttribute(
XmlElement xeElement,
string name
)
Parameters
- xeElement
- Type: System.XmlXmlElement
The parent XML element. - name
- Type: SystemString
The attribute's name.
Return Value
Type:
StringThe attribute's value.
See Also