Reason (XPathError property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (Redirected page to XPathError class#Reason property)
 
Line 1: Line 1:
{{Template:XPathError:Reason subtitle}}
#REDIRECT [[XPathError class#Reason property|Reason property]]


==Syntax==
[[Category:XPathError methods|Reason property]]
{{Template:XPathError:Reason syntax}}
===Syntax terms===
<table class="syntaxTable">
<tr><th>%reason</th>
<td>This <var>XPathErrorReason</var> enumeration value describes the reason for the translation failure.
</td></tr>
<tr><th>%XPathErr</th>
<td>An <var>XPathError</var> object.
 
</td></tr></table>
==Usage notes==
<ul>
<li>An <var>XPathErrorReason</var> enumeration may have one of the following values:
<dl>
<dt>SyntaxError
<dd>A violation of the syntax of an XPath expression.
<dt>EmptyResult
<dd>There are no nodes matched by the XPath expression, and the method
requires at least one matching node.
</dl>
<li>As with all enumerations, you use
the <code>ToString</code> method to convert an enumeration value to a
character string whose value is the name of the enumeration value.
</ul>
==See also==
{{Template:XPathError:Reason footer}}

Latest revision as of 16:09, 11 May 2011