DeviceInfoList.get Method

Module: DeviceInfoList

Definition

Gets an item of the DeviceInfoList object.

get(self, index: int) -> DeviceInfo

Parameters

index int
in Index of the DeviceInfo item to get.

Returns

DeviceInfo item to get.

Exceptions

An error has occurred during Devices Library execution.
DeviceInfo get(int index)

Parameters

index int
in Index of the DeviceInfo item to get.

Returns

DeviceInfo item to get.

Exceptions

An error has occurred during Devices Library execution.
public DeviceInfo Get(int index)

Parameters

index int
in Index of the DeviceInfo item to get.

Returns

DeviceInfo item to get.

Exceptions

An error has occurred during Devices Library execution.
public DeviceInfo get(int index) throws DevicesException

Parameters

index int
in Index of the DeviceInfo item to get.

Returns

DeviceInfo item to get.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesDeviceInfoList_Get (
    ID3_DEVICES_DEVICE_INFO_LIST hDeviceInfoList,
    int index,
    ID3_DEVICES_DEVICE_INFO hDeviceInfoItem)

Parameters

in Handle to the DeviceInfoList object.

index int
in Index of the DeviceInfo item to get.

hDeviceInfoItem ID3_DEVICES_DEVICE_INFO
out DeviceInfo item to get.

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.