New (RecordLockingConflict constructor): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Template:RecordLockingConflict:New subtitle}}
#REDIRECT [[RecordLockingConflict class#New constructor|New constructor]]
This constructor generates an instance of an <var>[[RecordLockingConflict_class|RecordLockingConflict]]</var> exception. As shown in the syntax that follows, the <var>New</var> method arguments set the values of the class properties having the corresponding names.  Each argument to <var>New</var> sets the value of the corresponding property of the newly constructed <var>RecordLockingConflict</var> object.
==Syntax==
{{Template:RecordLockingConflict:New syntax}}
===Syntax terms===
<table class="syntaxTable">
<tr><th>%recordLockingConflict</th>
<td>A reference to an instance of a <var>RecordLockingConflict</var> object.
</td></tr>
<tr><th>%(RecordLockingConflict)</th><td>The class name in parentheses denotes a shared method.</td></tr>
<tr><th><var>Filename</var></th>
<td>This [[Methods#Named parameters|name required]] parameter specifies the <var class="term">[[Longstrings|longstring]]</var> value (''filename'') to be assigned to the object's <var>[[Filename_(RecordLockingConflict_property)|Filename]]</var> property. Its default value is a null string.
</td></tr>
<tr><th><var>RecordNumber</var></th>
<td>This name required parameter specifies the numeric value (''recnum'') to be assigned to the object's <var>[[RecordNumber_(RecordLockingConflict_property)|RecordNumber]]</var> property. Its default value is 0.
</td></tr>
<tr><th><var>UserNumber</var></th>
<td>This name required parameter specifies the numeric value (''usernum'') to be assigned to the exception object's <var>[[UserID_(RecordLockingConflict_property)|UserNumber]]</var> property. Its default value is 0.
</td></tr>
<tr><th><var>UserID</var></th>
<td>This name required parameter specifies the longstring value (''userid'') to be assigned to the object's <var>[[UserNumber_(RecordLockingConflict_property)|UserID]]</var> property. Its default value is a null string.
</td></tr>
</table>


==See also==
[[Category:RecordLockingConflict methods|New constructor]]
{{Template:RecordLockingConflict:New footer}}

Latest revision as of 19:07, 10 May 2011