PosExplorer.GetDevices 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
GetDevices() |
Returns a collection of all POS devices currently installed in the system. |
GetDevices(DeviceCompatibilities) |
Retrieves all POS devices currently installed in the system, based on a compatibility level (or version number). |
GetDevices(String) |
Retrieves all POS devices of the specified type. |
GetDevices(String, DeviceCompatibilities) |
Retrieves all POS devices of the specified type and compatibility (or version). |
GetDevices()
Returns a collection of all POS devices currently installed in the system.
public Microsoft.PointOfService.DeviceCollection GetDevices ();
member this.GetDevices : unit -> Microsoft.PointOfService.DeviceCollection
Public Function GetDevices () As DeviceCollection
Returns
Applies to
GetDevices(DeviceCompatibilities)
Retrieves all POS devices currently installed in the system, based on a compatibility level (or version number).
public Microsoft.PointOfService.DeviceCollection GetDevices (Microsoft.PointOfService.DeviceCompatibilities compatibility);
member this.GetDevices : Microsoft.PointOfService.DeviceCompatibilities -> Microsoft.PointOfService.DeviceCollection
Public Function GetDevices (compatibility As DeviceCompatibilities) As DeviceCollection
Parameters
- compatibility
- DeviceCompatibilities
DeviceCompatibilities enumeration that indicates compatibility level.
Returns
Applies to
GetDevices(String)
Retrieves all POS devices of the specified type.
public Microsoft.PointOfService.DeviceCollection GetDevices (string type);
member this.GetDevices : string -> Microsoft.PointOfService.DeviceCollection
Public Function GetDevices (type As String) As DeviceCollection
Parameters
- type
- String
A string that contains one of the 36 POS device types, as defined by the DeviceType helper class.
Returns
Applies to
GetDevices(String, DeviceCompatibilities)
Retrieves all POS devices of the specified type and compatibility (or version).
public Microsoft.PointOfService.DeviceCollection GetDevices (string type, Microsoft.PointOfService.DeviceCompatibilities compatibility);
member this.GetDevices : string * Microsoft.PointOfService.DeviceCompatibilities -> Microsoft.PointOfService.DeviceCollection
Public Function GetDevices (type As String, compatibility As DeviceCompatibilities) As DeviceCollection
Parameters
- type
- String
A string that contains one of the 36 POS device types, as defined by the DeviceType helper class.
- compatibility
- DeviceCompatibilities
DeviceCompatibilities enumeration that indicates compatibility level.