XmlUtilsGetAttributeValue Method (XmlNode, String, String) |
Gets the attribute value.
Namespace:
SD.LLBLGen.Pro.Core.Xml
Assembly:
SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.3.0.0 (5.3.0)
Syntax public static string GetAttributeValue(
XmlNode node,
string attributeName,
string defaultValue
)
Public Shared Function GetAttributeValue (
node As XmlNode,
attributeName As String,
defaultValue As String
) As String
Parameters
- node
- Type: System.XmlXmlNode
The node. - attributeName
- Type: SystemString
Name of the attribute. - defaultValue
- Type: SystemString
The default value if the attribute isn't defined.
Return Value
Type:
StringSee Also