New (AddToRecordError constructor): Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with " <span class="pageSubtitle"><section begin=dpl_desc/>Create new AddToRecordError instance<section end=dpl_desc/></span> New constructor <p> ...")
 
 
(17 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
#REDIRECT [[AddToRecordError class#New constructor|New constructor]]
<span class="pageSubtitle"><section begin=dpl_desc/>Create new AddToRecordError instance<section end=dpl_desc/></span>
[[Category:AddToRecordError methods|New property]]
[[Category:AddToRecordError methods|New constructor]]
<p>
<var>New</var> is a member of the <var>[[AddToRecordError class|AddToRecordError]]</var> class.
</p>
 
As shown in the syntax that follows,
the <var>New</var> method arguments set the values of the properties of the class that have the
corresponding names.
==Syntax==
<p class="syntax">[%a2RecErr =] [(AddToRecordError):]    -
                New ( Reason = reasonEnum -
                    [,&nbsp;Description = string] -
                    [,&nbsp;UntranslatableHexValue = hexString] -
                    [,&nbsp;FieldOrFieldgroupName = string] -
                    [,&nbsp;NodeName = string] -
                    [,&nbsp;NodeType = xmlNodeTypeEnum] -
                    [,&nbsp;Value = string] -
                    [,&nbsp;InputRecordNumber = number] )
</p>
===Syntax terms===
<table class="syntaxTable">
<tr><th>%a2RecErr</th>
<td>An <var>AddToRecordError</var> object.
</td></tr>
<tr><th><b>Reason=</b>reasonEnum</th>
<td>This name required parameter specifies the <var>AddToRecordErrorReason</var> enumeration value (''reasonEnum'') to be assigned to the exception object's <var>[[Reason (AddToRecordError property)|Reason]]</var> property.
The Reason parameter is '''not''' optional.
</td></tr>
<tr><th><b>Description=</b>string</th>
<td>This name required parameter specifies the string value (''string'') to be assigned to the object's <var>[[Description (AddToRecordError property)|Description]]</var> property. This parameter is optional; the default value is the null string.
</td></tr>
<tr><th><b>UntranslatableHexValue=</b>hexString</th>
<td>This name required parameter specifies the string value (''hexString'') to be assigned to the object's <var>[[UntranslatableHexValue (AddToRecordError property)|UntranslatableHexValue]]</var> property. This parameter is optional; the default value is the null string and, if supplied, it must be a valid hexadecimal string.
</td></tr>
<tr><th><b>FieldOrFieldgroupName=</b>string</th>
<td>This name required parameter specifies the string value (''string'') to be assigned to the object's <var>[[FieldOrFieldgroupName (AddToRecordError property)|FieldOrFieldgroupName]]</var> property. This parameter is optional; the default value is the null string.
</td></tr>
<tr><th><b>NodeName=</b>string</th>
<td>This name required parameter specifies the string value (''string'') to be assigned to the object's <var>[[NodeName (AddToRecordError property)|NodeName]]</var> property. This parameter is optional; the default value is the null string.
</td></tr>
<tr><th><b>NodeType=</b>xmlNodeTypeEnum</th>
<td>This name required parameter specifies the <var>XmlNodeType</var> enumeration value (''xmlNodeTypeEnum'') to be assigned to the object's <var>[[NodeType (AddToRecordError property)|NodeType]]</var> property. This parameter is optional; the default value is Null.
</td></tr>
<tr><th><b>Value=</b>string</th>
<td>This name required parameter specifies the string value (''string'') to be assigned to the object's <var>[[Value (AddToRecordError property)|Value]]</var> property. This parameter is optional; the default value is the null string.
</td></tr>
<tr><th><b>InputRecordNumber=</b>number</th>
<td>This name required parameter specifies the numeric value (''number'') to be assigned to the object's <var>[[InputRecordNumber (AddToRecordError property)|InputRecordNumber]]</var> property. This parameter is optional; the default value is 0.
 
</td></tr></table>

Latest revision as of 19:12, 9 May 2011