New (InvalidHexData constructor): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (match syntax table to syntax template, tags and edits)
Line 1: Line 1:
{{Template:InvalidHexData:New subtitle}}
{{Template:InvalidHexData:New subtitle}}
This constructor generates an instance of an <var>[[InvalidHexData_class|InvalidHexData]]</var> exception.  As shown below, the required argument of the <var>New</var> method is a setting of the <var>[[Position_(InvalidHexData_property)|Position]]</var> property.


This constructor generates an instance of an InvalidHexData exception.
As shown below, the required argument of the New method is a setting of
the Position property.
==Syntax==
==Syntax==
{{Template:InvalidHexData:New syntax}}
{{Template:InvalidHexData:New syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%invHex</th>
<tr><th>%invalidHexData</th>
<td>A reference to an instance of an InvalidHexData object.
<td>A reference to an instance of an <var>InvalidHexData</var> object.
</td></tr>
</td></tr>
<tr><th><b>Position=</b>num</th>
<tr><th>%(InvalidHexData)</th><td>The class name in parentheses denotes a shared method.</td></tr>
<td>This name required parameter specifies the numeric value (''num'') for the position to be assigned to the InvalidHexData exception object's Position property when a data error is encountered.
<tr><th>Position</th>
<td>This <var>[[Methods#Named parameters|Name-Required]]</var> parameter: <var class="term>Position</var>, specifies the numeric value (<i>number</i>) for the position to be assigned to the <var>InvalidHexData</var> exception object's <var>[[Position_(InvalidHexData_property)|Position]]</var> property when a data error is encountered.
</td></tr></table>


</td></tr></table>
==See also==
==See also==
{{Template:InvalidHexData:New footer}}
{{Template:InvalidHexData:New footer}}

Revision as of 05:34, 22 April 2011

Create a new InvalidHexData object (InvalidHexData class) This constructor generates an instance of an InvalidHexData exception. As shown below, the required argument of the New method is a setting of the Position property.

Syntax

%invalidHexData = [%(InvalidHexData):]New( Position= number)

Syntax terms

%invalidHexData A reference to an instance of an InvalidHexData object.
%(InvalidHexData)The class name in parentheses denotes a shared method.
Position This Name-Required parameter: Position, specifies the numeric value (number) for the position to be assigned to the InvalidHexData exception object's Position property when a data error is encountered.

See also