|
|
(7 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
| {{Template:XmlParseError:New subtitle}}
| | #REDIRECT [[XmlParseError class#New constructor|New constructor]] |
|
| |
| Each argument to <var>New</var> sets the value of the corresponding property of the newly constructed <var>XmlParseError</var> object.
| |
| ==Syntax==
| |
| {{Template:XmlParseError:New syntax}}
| |
| ===Syntax terms===
| |
| <table class="syntaxTable">
| |
| <tr><th>%xmlParsErr</th>
| |
| <td>A reference to an instance of an <var>XmlParseError</var> object.
| |
| </td></tr>
| |
| <tr><th>Reason</th>
| |
| <td>This [[Methods#Named parameters|name required]] parameter specifies the value to be assigned to the exception object's <var>Reason</var> property.
| |
| <var>Reason</var> settings are <var>XmlParseErrorReason</var> enumeration values, which are described in [[Reason (XmlParseError property)#Syntax terms|"Reason Syntax terms"]].
| |
| The <var>Reason</var> parameter is '''not''' optional.
| |
| </td></tr>
| |
| <tr><th>CharacterPosition</th>
| |
| <td>This name required parameter specifies the numeric value (''num'') to be assigned to the object's <var>CharacterPosition</var> property. Its default value is 0.
| |
| </td></tr>
| |
| <tr><th>Description</th>
| |
| <td>This name required parameter specifies the string value (''string'') to be assigned to the object's <var>Description</var> property. Its default value is a null string.
| |
| </td></tr>
| |
| <tr><th>InputHexValue</th>
| |
| <td>This name required parameter specifies the string value (''string'') to be assigned to the object's <var>InputHexValue</var> property. Its default value is a null string.
| |
| </td></tr></table>
| |
|
| |
|
| ==See also==
| | [[Category:XmlParseError methods|New constructor]] |
| {{Template:XmlParseError:New footer}}
| |