AddToRecordError methods syntax: Difference between revisions
m (Automatically generated page update) |
m (Automatically generated page update) |
||
Line 5: | Line 5: | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal"> =</span> <span class="term">addToRecordError</span><span class="literal">:[[FieldOrFieldgroupName (AddToRecordError property)|FieldOrFieldgroupName]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal"> =</span> <span class="term">addToRecordError</span><span class="literal">:[[FieldOrFieldgroupName (AddToRecordError property)|FieldOrFieldgroupName]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal"> =</span> <span class="term">addToRecordError</span><span class="literal">:[[InputRecordNumber (AddToRecordError property)|InputRecordNumber]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal"> =</span> <span class="term">addToRecordError</span><span class="literal">:[[InputRecordNumber (AddToRecordError property)|InputRecordNumber]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%addToRecordError</span><span class="literal"> =</span> <span class="literal">%(AddToRecordError):[[New (AddToRecordError constructor)|New]]</span><span class="literal">(</span> <span class="literal" title="AddToRecordErrorReason">Reason=</span> <span class="term" title="AddToRecordErrorReason">addToRecordErrorReason</span><span class="comma">,</span> - | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%addToRecordError</span><span class="literal"> =</span> <span class="squareb">[</span><span class="literal">%(AddToRecordError):</span><span class="squareb">]</span><span class="literal">[[New (AddToRecordError constructor)|New]]</span><span class="literal">(</span> <span class="literal" title="AddToRecordErrorReason">Reason=</span> <span class="term" title="AddToRecordErrorReason">addToRecordErrorReason</span><span class="comma">,</span> - | ||
<span class="squareb">[</span><span class="literal" title="String">Description=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> - | <span class="squareb">[</span><span class="literal" title="String">Description=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> - | ||
<span class="squareb">[</span><span class="literal" title="String">UntranslatableHexValue=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> - | <span class="squareb">[</span><span class="literal" title="String">UntranslatableHexValue=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> - |
Latest revision as of 17:48, 31 July 2012
The syntax for each of the AddToRecordError class methods is shown below.
Square brackets indicate optional elements of the method invocation. See also the notation conventions for methods and the List of AddToRecordError methods.
%string = addToRecordError:Description
%string = addToRecordError:FieldOrFieldgroupName
%number = addToRecordError:InputRecordNumber
%addToRecordError = [%(AddToRecordError):]New( Reason= addToRecordErrorReason, - [Description= string], - [UntranslatableHexValue= string], - [FieldOrFieldgroupName= string], - [NodeName= string], - [NodeType= xmlNodeType], - [Value= string], - [InputRecordNumber= number])
%string = addToRecordError:NodeName
%xmlNodeType = addToRecordError:NodeType
%addToRecordErrorReason = addToRecordError:Reason
%string = addToRecordError:UntranslatableHexValue
%string = addToRecordError:Value