Share via


ItemDispenser.ReadItemCount(Int32) Method

Definition

Reads the number of items that are currently in the Item Dispenser.

public abstract int ReadItemCount (int slotNumber);
abstract member ReadItemCount : int -> int
Public MustOverride Function ReadItemCount (slotNumber As Integer) As Integer

Parameters

slotNumber
Int32

Contains the slot number that is used for reading the item count. Valid slot numbers are 1 through MaxSlots

Returns

Applies to