New (XmlParseError constructor): Difference between revisions
Jump to navigation
Jump to search
m (→Syntax terms) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Template:XmlParseError:New subtitle}} | {{Template:XmlParseError:New subtitle}} | ||
Each argument to <var>New</var> sets the value of the corresponding property of the newly constructed <var>XmlParseError</var> object. | |||
==Syntax== | ==Syntax== | ||
{{Template:XmlParseError:New syntax}} | {{Template:XmlParseError:New syntax}} |
Revision as of 02:27, 18 April 2011
Create a new XmlParseError object (XmlParseError class)
Each argument to New sets the value of the corresponding property of the newly constructed XmlParseError object.
Syntax
%xmlParseError = [%(XmlParseError):]New( Reason= xmlParseErrorReason, - [CharacterPosition= number], - [Description= string], - [InputHexValue= string])
Syntax terms
%xmlParsErr | A reference to an instance of an XmlParseError object. |
---|---|
Reason | This name required parameter specifies the value to be assigned to the exception object's Reason property.
Reason settings are XmlParseErrorReason enumeration values, which are described in "Reason Syntax terms". The Reason parameter is not optional. |
CharacterPosition | This name required parameter specifies the numeric value (num) to be assigned to the object's CharacterPosition property. Its default value is 0. |
Description | 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. |
InputHexValue | 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. |