Compartilhar via


GeneralFunctions.GetXmlNodeText 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.GetXmlNodeText(xml, xpath)

Syntax

'Declaration
Public Shared Function GetXmlNodeText ( _
    xml As String, _
    xpath As String _
) As String
public static string GetXmlNodeText (
    string xml,
    string xpath
)
public:
static String^ GetXmlNodeText (
    String^ xml, 
    String^ xpath
)
public static String GetXmlNodeText (
    String xml, 
    String xpath
)
public static function GetXmlNodeText (
    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.