DeviceModelList.get Method

Module: DeviceModelList

Definition

Gets an item of the DeviceModelList object.

get(self, index: int) -> DeviceModel

Parameters

index int
in Index of the DeviceModel item to get.

Returns

DeviceModel item to get.

Exceptions

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

Parameters

index int
in Index of the DeviceModel item to get.

Returns

DeviceModel item to get.

Exceptions

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

Parameters

index int
in Index of the DeviceModel item to get.

Returns

DeviceModel item to get.

Exceptions

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

Parameters

index int
in Index of the DeviceModel item to get.

Returns

DeviceModel item to get.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesDeviceModelList_Get (
    ID3_DEVICES_DEVICE_MODEL_LIST hDeviceModelList,
    int index,
    ID3_DEVICES_DEVICE_MODEL hDeviceModelItem)

Parameters

in Handle to the DeviceModelList object.

index int
in Index of the DeviceModel item to get.

hDeviceModelItem ID3_DEVICES_DEVICE_MODEL
out DeviceModel item to get.

Returns

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