|
|
(2 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| {{Template:InvalidRegex:New subtitle}}
| | #REDIRECT [[InvalidRegex class#New constructor|New constructor]] |
|
| |
|
| Each argument to <var>New</var> sets the value of the corresponding property of the newly constructed <var>InvalidRegex</var> object.
| | [[Category:InvalidRegex methods|New constructor]] |
| ==Syntax==
| |
| {{Template:InvalidRegex:New syntax}}
| |
| ===Syntax terms===
| |
| <table class="syntaxTable">
| |
| <tr><th>%invReg</th>
| |
| <td>A reference to an instance of an InvalidRegex object.
| |
| </td></tr>
| |
| <tr><th><b>Code=</b>code</th>
| |
| <td>This name required parameter specifies the numeric value (''code'') to be assigned to the exception object's Code property.
| |
| </td></tr>
| |
| <tr><th><b>Description=</b>desc</th>
| |
| <td>This name required parameter specifies the string value (''desc'') to be assigned to the object's Description property.
| |
| </td></tr>
| |
| <tr><th><b>Position=</b>pos</th>
| |
| <td>This name required parameter specifies the numeric value (''pos'') to be assigned to the object's Position property.
| |
| | |
| </td></tr></table>
| |
| ==See also==
| |
| {{Template:InvalidRegex:New footer}}
| |