XmlHelper.GetAttributeValue 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: 10.0.0
Syntax public static string GetAttributeValue(
XmlNode node,
string attributeName,
string defaultValue
)
Parameters
- node
- Type: System.Xml.XmlNode
Node representing a form field - attributeName
- Type: System.String
Attribute name - defaultValue
- Type: System.String
Default value returned when attribute is not found
Return Value
Type:
StringSee Also