GeneralFunctions.GetXmlNodeValue Method

Retrieves the node value of given xpath by loading the given XML.

Namespace: Microsoft.Uii.Common
Assembly: Microsoft.Uii.Common (in Microsoft.Uii.Common.dll)

Usage

'Usage
Dim xml As String
Dim xpath As String
Dim returnValue As String

returnValue = GeneralFunctions.GetXmlNodeValue(xml, xpath)

Syntax

'Declaration
<DebuggerStepThroughAttribute> _
<ObsoleteAttribute("Deprecated, use GetXmlNodeText")> _
Public Shared Function GetXmlNodeValue ( _
    xml As String, _
    xpath As String _
) As String
[DebuggerStepThroughAttribute] 
[ObsoleteAttribute("Deprecated, use GetXmlNodeText")] 
public static string GetXmlNodeValue (
    string xml,
    string xpath
)
[DebuggerStepThroughAttribute] 
[ObsoleteAttribute(L"Deprecated, use GetXmlNodeText")] 
public:
static String^ GetXmlNodeValue (
    String^ xml, 
    String^ xpath
)
/** @attribute DebuggerStepThroughAttribute() */ 
/** @attribute ObsoleteAttribute("Deprecated, use GetXmlNodeText") */ 
public static String GetXmlNodeValue (
    String xml, 
    String xpath
)
DebuggerStepThroughAttribute 
ObsoleteAttribute("Deprecated, use GetXmlNodeText") 
public static function GetXmlNodeValue (
    xml : String, 
    xpath : String
) : String

Parameters

  • xml
    Specifies the xml string.
  • xpath
    Specifies the XPath to query.

Return Value

Type: String

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

GeneralFunctions Class
GeneralFunctions Members
Microsoft.Uii.Common Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.