DeviceInfo.IsDeviceInfoOf Method

2/27/2008

Gets the Boolean value that indicates whether a DeviceInfo instance applies to the specified service object.

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

Syntax

'Declaration
Public Function IsDeviceInfoOf ( _
    serviceObject As PosCommon _
) As Boolean
public bool IsDeviceInfoOf (
    PosCommon serviceObject
)
public:
bool IsDeviceInfoOf (
    PosCommon^ serviceObject
)
public boolean IsDeviceInfoOf (
    PosCommon serviceObject
)
public function IsDeviceInfoOf (
    serviceObject : PosCommon
) : boolean

Parameters

  • serviceObject
    The service object to compare.

Remarks

The IsDeviceInfoOf method compares the Type and HardwarePath properties of a DeviceInfo object and a service object.

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

DeviceInfo Class
DeviceInfo Members
Microsoft.PointOfService Namespace