Share via


ItemDispenser.DispenseItem Method

2/27/2008

Dispenses items.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride Sub DispenseItem ( _
    numItem As Integer, _
    slotNumber As Integer _
)
public abstract void DispenseItem (
    int numItem,
    int slotNumber
)
public:
virtual void DispenseItem (
    int numItem, 
    int slotNumber
) abstract
public abstract void DispenseItem (
    int numItem, 
    int slotNumber
)
public abstract function DispenseItem (
    numItem : int, 
    slotNumber : int
)

Parameters

  • numItem
    Contains the number of items to be dispensed. On return, it contains the number of items dispensed.
  • slotNumber
    Contains the slot number that is used for dispensing items. Valid slot numbers are 1 through MaxSlots

Remarks

The actual number of dispensed items is returned in numItem.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

ItemDispenser Class
ItemDispenser Members
Microsoft.PointOfService Namespace