CapyKit/Documentation/Help/M_CapyKit_PoolItem_1_SetLock.md
2024-09-04 19:31:43 -05:00

694 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.2

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