DeviceModelList.set Method

Module: DeviceModelList

Definition

Sets an item of the DeviceModelList object.

set(self, index: int, device_model_item: DeviceModel) -> None

Parameters

index int
in Index of the DeviceModel item to set.

device_model_item DeviceModel
in DeviceModel item to set.

Exceptions

An error has occurred during Devices Library execution.
void set(int index, DeviceModel deviceModelItem)

Parameters

index int
in Index of the DeviceModel item to set.

deviceModelItem DeviceModel
in DeviceModel item to set.

Exceptions

An error has occurred during Devices Library execution.
public void Set(int index, DeviceModel deviceModelItem)

Parameters

index int
in Index of the DeviceModel item to set.

deviceModelItem DeviceModel
in DeviceModel item to set.

Exceptions

An error has occurred during Devices Library execution.
public void set(int index, DeviceModel deviceModelItem) throws DevicesException

Parameters

index int
in Index of the DeviceModel item to set.

deviceModelItem DeviceModel
in DeviceModel item to set.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesDeviceModelList_Set (
    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 set.

hDeviceModelItem ID3_DEVICES_DEVICE_MODEL
in DeviceModel item to set.

Returns

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