CapyKit/Documentation/Help/M_CapyKit_PoolItem_1_SetLock.md

735 B

SetLock Method

Sets the lock on the item indicating that it is in use.

Definition

Namespace: CapyKit
Assembly: CapyKit (in CapyKit.dll) Version: 1.0.0+735d7c4c91a8ae04c2d8cae4ce85ddf4909e5b7d

C#

public bool SetLock()

F#

member SetLock : unit -> bool 

Return Value

Boolean
true if the item is locked successfully, false if it fails.

Remarks

If the item is already locked, an error event is emitted.

See Also

Reference

PoolItem(T) Class
CapyKit Namespace