LoopLockStrength (Record property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Created page with "<span class="pageSubtitle"><section begin=dpl_desc/><section end=dpl_desc/></span> LoopLockStrength property <p> <var>LoopLockStrength</var> is a memb...")
 
m (Created page with "<span class="pageSubtitle"><section begin=dpl_desc/><section end=dpl_desc/></span> LoopLockStrength property <p> <var>LoopLockStrength</var> is a memb...")
Line 1: Line 1:
<span class="pageSubtitle"><section begin=dpl_desc/><section end=dpl_desc/></span>
{{Template:Record:LoopLockStrength subtitle}}
[[Category:Record methods|LoopLockStrength property]]
<p>
<var>LoopLockStrength</var> is a member of the <var>[[Record class|Record]]</var> class.
</p>


This settable property returns a <var>LockStrength</var> enumeration
This settable property returns a <var>LockStrength</var> enumeration
Line 10: Line 6:
For more information see [[Record class#LoopLockStrength for Records|"LoopLockStrength for Records"]].
For more information see [[Record class#LoopLockStrength for Records|"LoopLockStrength for Records"]].
==Syntax==
==Syntax==
<p class="syntax">%ls = %rec:LoopLockStrength
{{Template:Record:LoopLockStrength syntax}}
 
===Syntax terms===
%rec:LoopLockStrength = %ls
</p>
===Syntax Terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%ls</th>
<tr><th>%ls</th>
Line 23: Line 16:


</td></tr></table>
</td></tr></table>
==Usage Notes==
==Usage notes==
<ul>
<ul>
<li>If the returned locking value is assigned to an enumeration variable,
<li>If the returned locking value is assigned to an enumeration variable,
Line 30: Line 23:
<li>For more information about enumerations, see [[Enumerations]].
<li>For more information about enumerations, see [[Enumerations]].
</ul>
</ul>
==See also==
{{Template:Record:LoopLockStrength footer}}

Revision as of 21:50, 20 April 2011

Set or return minimum lock strength for Record in For loops (Record class)


This settable property returns a LockStrength enumeration that indicates the minimum lock strength for records processed in For Record loops on the Record object. For more information see "LoopLockStrength for Records".

Syntax

%currentLockStrength = record:LoopLockStrength record:LoopLockStrength = newLockStrength

Syntax terms

%ls A declared enumeration object of type LockStrength to contain the returned value or to set the new value of %rec's minimum lock strength on records in a loop on %rec. The enumeration values (shared properties) that may be returned (None, Share, or Exclusive), correspond to standard Model 204 record-locking levels, as described in "New (Record constructor)".
%rec An instantiated Record object variable.

Usage notes

  • If the returned locking value is assigned to an enumeration variable, use the ToString enumeration method to print the value string.
  • For more information about enumerations, see Enumerations.

See also