Share via


LineDisplayBase.DeviceDescriptors Property

2/27/2008

Holds the number of descriptors on this device.

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

Syntax

'Declaration
Public Overrides ReadOnly Property DeviceDescriptors As Integer
public override int DeviceDescriptors { get; }
public:
virtual property int DeviceDescriptors {
    int get () override;
}
/** @property */
public int get_DeviceDescriptors ()
public override function get DeviceDescriptors () : int

Remarks

LineDisplayBase class verifies that the device has been opened, then retrieves the value of LineDisplayProperties.DeviceDescriptors.

DeviceDescriptors is initialized to 0 (zero) by the LineDisplayProperties class. If the service object sets DeviceDescriptors, the LineDisplayProperties class may cause a PosControlException to be thrown with the following ErrorCode:

Value

Meaning

Illegal

  • The value specified is 0 (zero); or

  • The CapDescriptors property is set to false.

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

LineDisplayBase Class
LineDisplayBase Members
Microsoft.PointOfService.BaseServiceObjects Namespace
LineDisplay.DeviceDescriptors Property
LineDisplayBase.CapDescriptors Property