New (InvalidRegex constructor)

From m204wiki
Revision as of 20:04, 14 January 2011 by 198.242.244.47 (talk) (Created page with " <span class="pageSubtitle"><section begin=dpl_desc/>Create new InvalidRegex instance<section end=dpl_desc/></span> New constructor <p> New is a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<section begin=dpl_desc/>Create new InvalidRegex instance<section end=dpl_desc/>

New is a member of the InvalidRegex class.

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

[%invReg =] [%(InvalidRegex):] New(Code=code, - Description=desc, - Position=pos)

Syntax terms

%invReg A reference to an instance of an InvalidRegex object.
Code=code This name required parameter specifies the numeric value (code) to be assigned to the exception object's Code property.
Description=desc This name required parameter specifies the string value (desc) to be assigned to the object's Description property.
Position=pos This name required parameter specifies the numeric value (pos) to be assigned to the object's Position property.