New (XmlParseError constructor): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Template:XmlParseError:New subtitle}}
#REDIRECT [[XmlParseError class#New constructor|New constructor]]
 
As shown in the syntax that follows,
[[Category:XmlParseError methods|New constructor]]
the <var>New</var> method arguments set the values of the class properties that have the
corresponding names.
==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==
{{Template:XmlParseError:New footer}}

Latest revision as of 19:52, 10 May 2011