New (XPathError constructor): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (Redirected page to XPathError class#New constructor)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Template:XPathError:New subtitle}}
#REDIRECT [[XPathError class#New constructor|New constructor]]


As shown in the syntax that follows,
[[Category:XPathError methods|New constructor]]
the <var>New</var> method arguments set the values of the properties of the class that have the
corresponding names.
==Syntax==
{{Template:XPathError:New syntax}}
===Syntax terms===
<table class="syntaxTable">
<tr><th>%XPathErr</th>
<td>An <var>XPathError</var> object.
</td></tr>
<tr><th><b>Reason=</b>reasonEnum</th>
<td>This name required parameter specifies the value to be assigned to the exception object's <var>[[Reason (XPathError property)|Reason]]</var> property.
The Reason parameter is '''not''' optional.
</td></tr>
<tr><th><b>CharacterPosition=</b>num</th>
<td>This name required parameter specifies the numeric value (''num'') to be assigned to the object's <var>[[CharacterPosition (XPathError property)|CharacterPosition]]</var> property.
</td></tr>
<tr><th><b>Description=</b>string</th>
<td>This name required parameter specifies the string value (''string'') to be assigned to the object's <var>[[Description (XPathError property)|Description]]</var> property.
</td></tr></table>
==See also==
{{Template:XPathError:New footer}}

Latest revision as of 16:11, 11 May 2011