|
|
Line 1: |
Line 1: |
| {{Template:InvalidHexData:New subtitle}}
| | #REDIRECT [[InvalidHexData class#New constructor|New constructor]] |
| 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.
| |
|
| |
|
| ==Syntax==
| | [[Category:InvalidHexData methods|New constructor]] |
| {{Template:InvalidHexData:New syntax}}
| |
| ===Syntax terms===
| |
| <table class="syntaxTable">
| |
| <tr><th>%invalidHexData</th>
| |
| <td>A reference to an instance of an <var>InvalidHexData</var> object.
| |
| </td></tr>
| |
| <tr><th><var>%(InvalidHexData)</var></th><td>The class name in parentheses denotes a shared method.</td></tr>
| |
| <tr><th><var>Position</var></th>
| |
| <td>This [[Methods#Named parameters|name required]] parameter: <var>Position</var>, specifies the numeric value (<var class="term">number</var>) 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>
| |
| | |
| ==See also==
| |
| {{Template:InvalidHexData:New footer}}
| |