Share via


HardTotals.SetAll Method

2/27/2008

Sets all the data in a totals file to the specified value.

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

Syntax

'Declaration
Public MustOverride Sub SetAll ( _
    handle As Integer, _
    targetValue As Byte _
)
public abstract void SetAll (
    int handle,
    byte targetValue
)
public:
virtual void SetAll (
    int handle, 
    unsigned char targetValue
) abstract
public abstract void SetAll (
    int handle, 
    byte targetValue
)
public abstract function SetAll (
    handle : int, 
    targetValue : byte
)

Parameters

  • handle
    Handle to a totals file.
  • targetValue
    Value to set is in the low byte.

Remarks

Sets all the data in a totals file to the specified value.

SetAll may cause a PosControlException to be thrown with the following ErrorCode.

Value

Meaning

Claimed

Cannot set because either the totals file or the totals area is claimed by another application.

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

HardTotals Class
HardTotals Members
Microsoft.PointOfService Namespace