Share via


Scale.CapTareWeight Property

Inidcates whether a scale supports a tare.

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

Usage

'Usage
Dim scale1 As Scale

Dim returnValue As Boolean
returnValue = scale1.CapTareWeight

Syntax

'Declaration
Public MustOverride ReadOnly Property CapTareWeight() As Boolean
public abstract bool CapTareWeight {get;}
public: property virtual Boolean CapTareWeight{
    Boolean get();
}
public abstract boolean get_CapTareWeight();
public abstract function get CapTareWeight() : Boolean;

Remarks

Set to TRUE if the scale includes setting a tare value. Otherwise it is FALSE, indicating that the scale does not support tare values.

CapTareWeight is typically initialized to FALSE It should then be updated by the service object based on the capabilities of the device.

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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

Scale Class
Scale Members
Microsoft.PointOfService Namespace
TareWeight