|
|
(6 intermediate revisions by 5 users not shown) |
Line 1: |
Line 1: |
| | #REDIRECT [[InvalidRegex class#New constructor|New constructor]] |
|
| |
|
| <span class="pageSubtitle"><section begin=dpl_desc/>Create new InvalidRegex instance<section end=dpl_desc/></span>
| |
| [[Category:InvalidRegex methods|New constructor]] | | [[Category:InvalidRegex methods|New constructor]] |
| <p>
| |
| New is a member of the [[InvalidRegex class]].
| |
| </p>
| |
|
| |
| This constructor generates an instance of an InvalidRegex exception.
| |
| As shown below, the required argument of the New method is a setting of the Code,
| |
| Description, and Position properties.
| |
| ==Syntax==
| |
| <p class="syntax">[%invReg =] [%(InvalidRegex):] New(Code=code, -
| |
| Description=desc, -
| |
| Position=pos)
| |
| </p>
| |
| ===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>
| |