Share via


PosExplorer.GetDevice Method

Definition

Overloads

GetDevice(String)

Retrieves a device of the specified type.

GetDevice(String, String)

Retrieves a device of the specified type and logical name (or alias).

GetDevice(String)

Retrieves a device of the specified type.

public Microsoft.PointOfService.DeviceInfo GetDevice (string type);
member this.GetDevice : string -> Microsoft.PointOfService.DeviceInfo
Public Function GetDevice (type As String) As DeviceInfo

Parameters

type
String

A string that contains one of the 36 POS device types, as defined by the DeviceType helper class.

Returns

Applies to

GetDevice(String, String)

Retrieves a device of the specified type and logical name (or alias).

public Microsoft.PointOfService.DeviceInfo GetDevice (string type, string logicalName);
member this.GetDevice : string * string -> Microsoft.PointOfService.DeviceInfo
Public Function GetDevice (type As String, logicalName As String) As DeviceInfo

Parameters

type
String

A string that contains one of the 36 POS device types, as defined by the DeviceType helper class.

logicalName
String

The logical name or alias of the device.

Returns

Applies to