|
|
(14 intermediate revisions by 8 users not shown) |
Line 1: |
Line 1: |
| | #REDIRECT [[XmlParseError class#New constructor|New constructor]] |
|
| |
|
| <span class="pageSubtitle"><section begin=dpl_desc/>Create new XmlParseError instance<section end=dpl_desc/></span>
| |
| [[Category:XmlParseError methods|New constructor]] | | [[Category:XmlParseError methods|New constructor]] |
| <p>
| |
| New is a member of the [[XmlParseError class]].
| |
| </p>
| |
|
| |
| As shown in the syntax that follows,
| |
| the New method arguments set the values of the class properties that have the
| |
| corresponding names.
| |
| ==Syntax==
| |
| <p class="syntax">[%xmlParsErr =] [%(XmlParseError):] -
| |
| New ( Reason = reasonEnum -
| |
| [, CharacterPosition = num] -
| |
| [, Description = string] -
| |
| [, InputHexValue = string] )
| |
| </p>
| |
| ===Syntax terms===
| |
| <table class="syntaxTable">
| |
| <tr><th>%xmlParsErr</th>
| |
| <td>A reference to an instance of an XmlParseError 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 Reason property. The ''reasonEnum'' enumeration values are described in "[[Reason (XmlParseError property)#Syntax terms|Reason Syntax terms]]".
| |
| 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 CharacterPosition property. Its default value is 0.
| |
| </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 Description property. Its default value is a null string.
| |
| </td></tr>
| |
| <tr><th><b>InputHexValue=</b>string</th>
| |
| <td>This name required parameter specifies the string value (''string'') to be assigned to the object's InputHexValue property. Its default value is a null string.
| |
|
| |
| </td></tr></table>
| |