ItemDispenser.ReadItemCount(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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