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: 13.0.131
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