Scale.WeightUnit Property
2/27/2008
Holds the unit of weight of scale data.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property WeightUnit As WeightUnit
public abstract WeightUnit WeightUnit { get; }
public:
virtual property WeightUnit WeightUnit {
WeightUnit get () abstract;
}
/** @property */
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). |
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
Scale Class
Scale Members
Microsoft.PointOfService Namespace