Share via


RemoteOrderDisplay.VideoMode Property

2/27/2008

Gets or sets the video Mode ID selected for the video unit specified by the CurrentUnitId property.

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

Syntax

'Declaration
Public MustOverride Property VideoMode As Integer
public abstract int VideoMode { get; set; }
public:
virtual property int VideoMode {
    int get () abstract;
    void set (int value) abstract;
}
/** @property */
public abstract int get_VideoMode ()

/** @property */
public abstract void set_VideoMode (int value)
public abstract function get VideoMode () : int

public abstract function set VideoMode (value : int)

Remarks

The Mode ID represents one of the selections in the VideoModesList property.

VideoMode is typically initialized to the service object-dependent default video Mode ID used by each video unit online.

Accessing VideoMode may cause a PosControlException to be thrown with the following ErrorCode:

Value

Description

Illegal

The desired video mode is not supported. The ErrorString property is updated before return.

Failure

An error occurred while communicating with the video unit specified by the CurrentUnitId property. The ErrorString property is updated before return.

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

RemoteOrderDisplay Class
RemoteOrderDisplay Members
Microsoft.PointOfService Namespace
RemoteOrderDisplay.CurrentUnitId Property
VideoModesList