共用方式為


DeviceCollection.Item[] Property

Definition

Overloads

Item[Int32]

Gets the DeviceInfo object specified by index.

Item[String]

Gets the DeviceInfo object specified by name.

Item[Int32]

Gets the DeviceInfo object specified by index.

public Microsoft.PointOfService.DeviceInfo this[int index] { get; }
member this.Item(int) : Microsoft.PointOfService.DeviceInfo
Default Public ReadOnly Property Item(index As Integer) As DeviceInfo

Parameters

index
Int32

The zero-based index of the DeviceInfo object to get.

Property Value

Applies to

Item[String]

Gets the DeviceInfo object specified by name.

public Microsoft.PointOfService.DeviceInfo this[string name] { get; }
member this.Item(string) : Microsoft.PointOfService.DeviceInfo
Default Public ReadOnly Property Item(name As String) As DeviceInfo

Parameters

name
String

The name of the DeviceInfo object to get.

Property Value

Applies to