Condividi tramite


PosExplorer.CreateInstance(DeviceInfo) Method

Definition

Creates an instance of the service object based on the information supplied by the property values of the DeviceInfo object.

public Microsoft.PointOfService.PosDevice CreateInstance (Microsoft.PointOfService.DeviceInfo device);
member this.CreateInstance : Microsoft.PointOfService.DeviceInfo -> Microsoft.PointOfService.PosDevice
Public Function CreateInstance (device As DeviceInfo) As PosDevice

Parameters

device
DeviceInfo

An object that describes the device that you want to create an instance of, and which is an instance of the DeviceInfo class. DeviceInfo contains Compatibility, Description, HardwareID properties and so on for the device.

Returns

Applies to