Share via


ItemDispenser.DispenseItem(Int32, Int32) Method

Definition

Dispenses items.

public abstract void DispenseItem (int numItem, int slotNumber);
abstract member DispenseItem : int * int -> unit
Public MustOverride Sub DispenseItem (numItem As Integer, slotNumber As Integer)

Parameters

numItem
Int32

Contains the number of items to be dispensed. On return, it contains the number of items dispensed.

slotNumber
Int32

Contains the slot number that is used for dispensing items. Valid slot numbers are 1 through MaxSlots

Applies to