共用方式為


DeviceCollection.IndexOf(DeviceInfo) Method

Definition

Retrieves the index of the specified DeviceInfo object in the collection.

public int IndexOf (Microsoft.PointOfService.DeviceInfo value);
member this.IndexOf : Microsoft.PointOfService.DeviceInfo -> int
Public Function IndexOf (value As DeviceInfo) As Integer

Parameters

value
DeviceInfo

The DeviceInfo object for which to search in the collection.

Returns

Applies to