Click or drag to resize
XmlHelperGetAttributeValue 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: 12.0.0
Syntax
C#
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: String
See Also