Share via


LineDisplay.ClearDescriptors Method (POS for .NET v1.12 SDK Documentation)

2/27/2008

Turns off all descriptors.

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

Syntax

'Declaration
Public MustOverride Sub ClearDescriptors
public abstract void ClearDescriptors ()
public:
virtual void ClearDescriptors () abstract
public abstract void ClearDescriptors ()
public abstract function ClearDescriptors ()

Remarks

If the CapDescriptors property is set to false, ClearDescriptors throws an Illegal exception and returns immediately.

ClearDescriptors may cause a PosControlException to be thrown with the following ErrorCode.

Value

Meaning

Illegal

The device does not support descriptors.

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

LineDisplay Class
LineDisplay Members
Microsoft.PointOfService Namespace
SetDescriptor
DeviceDescriptors