DataDrivenAdapterBase.GetAttributeValue Method (XmlNode, String, Int32)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
Retrieves an integer valued attribute from an XML node.
Namespace: Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter
Assembly: Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter (in Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.dll)
Syntax
protected static int GetAttributeValue(
XmlNode node,
string attributeName,
int defaultValue
)
Protected Shared Function GetAttributeValue (
node As XmlNode,
attributeName As String,
defaultValue As Integer
) As Integer
Parameters
node
Type: System.Xml.XmlNodeSpecifies the XML node to retrieve the attribute value from.
attributeName
Type: System.StringSpecifies the name of the attribute to be retrieved.
defaultValue
Type: System.Int32Specifies the value to return if the named attribute doesn’t exist.
Return Value
Type: System.Int32
Type: Int32
The attribute from an XML node.
See Also
GetAttributeValue Overload
DataDrivenAdapterBase Class
Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter Namespace
Return to top
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright