Click or drag to resize
XmlHelper.GetAttributeValue Method (XmlNode, String, String)
Returns value of the specified attribute from the given node representing a form field.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax
C#
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: String
See Also