Share via


ItemDispenser.ReadItemCount Method

2/27/2008

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

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

Syntax

'Declaration
Public MustOverride Function ReadItemCount ( _
    slotNumber As Integer _
) As Integer
public abstract int ReadItemCount (
    int slotNumber
)
public:
virtual int ReadItemCount (
    int slotNumber
) abstract
public abstract int ReadItemCount (
    int slotNumber
)
public abstract function ReadItemCount (
    slotNumber : int
) : int

Parameters

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

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