Share via


DataDrivenAdapterBase.GetAttributeValue Method (XmlNode, String, String)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Retrieves a string 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 string GetAttributeValue(
    XmlNode node,
    string attributeName,
    string defaultValue
)
Protected Shared Function GetAttributeValue (
    node As XmlNode,
    attributeName As String,
    defaultValue As String
) As String

Parameters

  • node
    Type: System.Xml.XmlNode

    Specifies the XML node to retrieve the attribute value from.

  • attributeName
    Type: System.String

    Specifies the name of the attribute to be retrieved.

  • defaultValue
    Type: System.String

    Specifies the value to return if the named attribute doesn’t exist.

Return Value

Type: System.String

Type: String
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