InitString.Exists Method

Determines whether node specified by xpath is found under parentNode.

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

Usage

'Usage
Dim parentNode As XmlNode
Dim xPath As String
Dim returnValue As Boolean

returnValue = Me.Exists(parentNode, xPath)

Syntax

'Declaration
Protected Function Exists ( _
    parentNode As XmlNode, _
    xPath As String _
) As Boolean
protected bool Exists (
    XmlNode parentNode,
    string xPath
)
protected:
bool Exists (
    XmlNode^ parentNode, 
    String^ xPath
)
protected boolean Exists (
    XmlNode parentNode, 
    String xPath
)
protected function Exists (
    parentNode : XmlNode, 
    xPath : String
) : boolean

Parameters

  • parentNode
    Specifies the parent node.
  • xPath
    Specifies the xpath.

Return Value

Type: Boolean
True if the xPath is found, otherwise false.

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

InitString Class
InitString Members
Microsoft.Uii.Common Namespace

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