PosExplorer.GetDevice Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.