IsExists(string, XmlNameSpaceManager)
This method checks the existence of a particular set of nodes identified by the XPath expression in the XML document represented by the current OracleXmlType instance using a .NET XmlNameSpaceManager object for namespace resolution.
Declaration
// C# public bool IsExists(string xpathExpr, XmlNameSpaceManager nsMgr);
Parameters
-
xpathExprThe XPath expression.
-
nsMgrThe .NET
XmlNameSpaceManagerobject used for namespace resolution of the XPath expression.nsMgrcan be null.
Return Value
Returns true if the required set of nodes exists; otherwise, returns false.
Exceptions
ObjectDisposedException - The object is already disposed.
ArgumentNullException - The xpathExpr is null or zero-length.
InvalidOperationException - The OracleConnection is not open or has been closed during the lifetime of the object.
Remarks
The default namespace is ignored if its value is an empty string.