ItemDispenser.DispenseItem(Int32, 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.
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