XmlHelperGetAttributeValue Method (XmlNode, String, String) |
Returns value of the specified attribute from the given node representing a form field.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax public static string GetAttributeValue(
XmlNode node,
string attributeName,
string defaultValue
)
Parameters
- node
- Type: System.XmlXmlNode
Node representing a form field - attributeName
- Type: SystemString
Attribute name - defaultValue
- Type: SystemString
Default value returned when attribute is not found
Return Value
Type:
StringSee Also