ScannerProperties Class
2/27/2008
The ScannerProperties helper class simplifies the setting and retrieval of scanner device property values.
Namespace: Microsoft.PointOfService.BaseServiceObjects
Assembly: Microsoft.PointOfService.ControlBase (in microsoft.pointofservice.controlbase.dll)
Syntax
'Declaration
Public Class ScannerProperties
Inherits CommonProperties
public class ScannerProperties : CommonProperties
public ref class ScannerProperties : public CommonProperties
public class ScannerProperties extends CommonProperties
public class ScannerProperties extends CommonProperties
Remarks
ScannerProperties is a helper class created by POS for .NET to simplify the retrieval and setting of property values for scanner devices. ScannerProperties inherits from the CommonProperties class. The protected Properties property of ScannerBase class returns an instance of ScannerProperties. The service object can manage the value of a property using the syntax Properties.<propertyName>. ScannerProperties bypasses state validation—in other words, the service object can use ScannerProperties to set values for properties even though the application hasn’t opened, claimed, or enabled the scanner device.
Inheritance Hierarchy
System.Object
Microsoft.PointOfService.BasicServiceObjects.CommonProperties
Microsoft.PointOfService.BaseServiceObjects.ScannerProperties
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
ScannerProperties Members
Microsoft.PointOfService.BaseServiceObjects Namespace