New (AddToRecordError constructor): Difference between revisions
m (1 revision) |
m (1 revision) |
||
Line 1: | Line 1: | ||
<span class="pageSubtitle"><section begin=dpl_desc/>Create new AddToRecordError instance<section end=dpl_desc/></span> | <span class="pageSubtitle"><section begin=dpl_desc/>Create new AddToRecordError instance<section end=dpl_desc/></span> | ||
As shown in the syntax that follows, | As shown in the syntax that follows, | ||
Line 10: | Line 6: | ||
corresponding names. | corresponding names. | ||
==Syntax== | ==Syntax== | ||
{{Template:AddToRecordError:New syntax}} | |||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
Line 51: | Line 38: | ||
</td></tr></table> | </td></tr></table> | ||
==See also== | |||
{{Template:AddToRecordError:New footer}} |
Revision as of 19:02, 15 March 2011
<section begin=dpl_desc/>Create new AddToRecordError instance<section end=dpl_desc/>
As shown in the syntax that follows, the New method arguments set the values of the properties of the class that have the corresponding names.
Syntax
%addToRecordError = [%(AddToRecordError):]New( Reason= addToRecordErrorReason, - [Description= string], - [UntranslatableHexValue= string], - [FieldOrFieldgroupName= string], - [NodeName= string], - [NodeType= xmlNodeType], - [Value= string], - [InputRecordNumber= number])
Syntax terms
%a2RecErr | An AddToRecordError object. |
---|---|
Reason=reasonEnum | This name required parameter specifies the AddToRecordErrorReason enumeration value (reasonEnum) to be assigned to the exception object's Reason property.
The Reason parameter is not optional. |
Description=string | This name required parameter specifies the string value (string) to be assigned to the object's Description property. This parameter is optional; the default value is the null string. |
UntranslatableHexValue=hexString | This name required parameter specifies the string value (hexString) to be assigned to the object's UntranslatableHexValue property. This parameter is optional; the default value is the null string and, if supplied, it must be a valid hexadecimal string. |
FieldOrFieldgroupName=string | This name required parameter specifies the string value (string) to be assigned to the object's FieldOrFieldgroupName property. This parameter is optional; the default value is the null string. |
NodeName=string | This name required parameter specifies the string value (string) to be assigned to the object's NodeName property. This parameter is optional; the default value is the null string. |
NodeType=xmlNodeTypeEnum | This name required parameter specifies the XmlNodeType enumeration value (xmlNodeTypeEnum) to be assigned to the object's NodeType property. This parameter is optional; the default value is Null. |
Value=string | This name required parameter specifies the string value (string) to be assigned to the object's Value property. This parameter is optional; the default value is the null string. |
InputRecordNumber=number | This name required parameter specifies the numeric value (number) to be assigned to the object's InputRecordNumber property. This parameter is optional; the default value is 0. |