Share via


Belt.AdjustItemCount Method

2/27/2008

Indicates the direction of a belt and adjusts the item count accordingly.

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

Syntax

'Declaration
Public MustOverride Sub AdjustItemCount ( _
    direction As BeltDirection, _
    count As Integer _
)
public abstract void AdjustItemCount (
    BeltDirection direction,
    int count
)
public:
virtual void AdjustItemCount (
    BeltDirection direction, 
    int count
) abstract
public abstract void AdjustItemCount (
    BeltDirection direction, 
    int count
)
public abstract function AdjustItemCount (
    direction : BeltDirection, 
    count : int
)

Parameters

  • direction
    Specifies the auto stop item count property to be adjusted. May be either Backward or

    Forward.

  • count
    Contains the number of items to be adjusted.

Remarks

Depending on direction, either the AutoStopBackwardItemCount or the AutoStopForwardItemCount property will be adjusted by count. It can be an increment or decrement depending on whether count is positive or negative.

This method is only valid if at least one of the corresponding capabilities of the

CapAutoStopBackwardItemCount or the CapAutoStopForwardItemCount property is true.

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

Belt Class
Belt Members
Microsoft.PointOfService Namespace