QuickBooks Integrator V6 - Online Help
QuickBooks Integrator V6
Questions / Feedback?

HasXPath Method

Determines whether a specific element exists in the document.

Syntax

[VB.NET]
Public Function HasXPath(ByVal xpath As String) As Boolean
[C#]
public bool HasXPath(string xpath);

Remarks

The XPath property implements a subset of the XML XPath specification, allowing you to point to specific elements in the XML response.

The path is a series of one or more element accessors separated by '/'. The path can be absolute (starting with '/') or relative to the current XPath location.

Setting the XPath property to an xpath that does not exist will cause an error. You can use the HasXPath method to determine if a particular xpath exists before setting it with XPath.

NOTE: This method has a corresponding asynchronous version (HasXPathAsync) for use in the WinRT environment.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 6.0.6240.0