Scale.WeightUnit Property
Contains the unit of weight of scale data.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Usage
'Usage
Dim scale1 As Scale
Dim returnValue As WeightUnit
returnValue = scale1.WeightUnit
Syntax
'Declaration
Public MustOverride ReadOnly Property WeightUnit() As WeightUnit
public abstract WeightUnit WeightUnit {get;}
public: property virtual WeightUnit^ WeightUnit{
WeightUnit^ get();
}
public abstract WeightUnit get_WeightUnit();
public abstract function get WeightUnit() : WeightUnit;
Remarks
Valid units are:
Value |
Meaning |
Gram |
Unit is a gram. |
Kilogram |
Unit is a kilogram (= 1000 grams). |
Ounce |
Unit is an ounce. |
Pound |
Unit is a pound (= 16 ounces). |
WeightUnit is typically initialized to the scale’s weight.
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