LineDisplayBase.ScreenModeList Property
2/27/2008
Holds the array of DisplayScreenMode class instances that are supported by the device.
Namespace: Microsoft.PointOfService.BaseServiceObjects
Assembly: Microsoft.PointOfService.ControlBase (in microsoft.pointofservice.controlbase.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property ScreenModeList As DisplayScreenMode()
public override DisplayScreenMode[] ScreenModeList { get; }
public:
virtual property array<DisplayScreenMode^>^ ScreenModeList {
array<DisplayScreenMode^>^ get () override;
}
/** @property */
public DisplayScreenMode[] get_ScreenModeList ()
public override function get ScreenModeList () : DisplayScreenMode[]
Remarks
LineDisplayBase class verifies that the device has been opened, then retrieves the value of LineDisplayProperties.ScreenModeList.
ScreenModeList is initialized to an empty DisplayScreenMode array by the LineDisplayProperties class. The LineDisplayProperties class may cause a PosControlException to be thrown with the following ErrorCode:
Value |
Meaning |
Illegal |
The service object has set ScreenModeList to an empty array or a null value. |
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.ScreenModeList Property
DisplayScreenMode Class