DeviceInfoList.set Method

Module: DeviceInfoList

Definition

Sets an item of the DeviceInfoList object.

set(self, index: int, device_info_item: DeviceInfo) -> None

Parameters

index int
in Index of the DeviceInfo item to set.

device_info_item DeviceInfo
in DeviceInfo item to set.

Exceptions

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

Parameters

index int
in Index of the DeviceInfo item to set.

deviceInfoItem DeviceInfo
in DeviceInfo item to set.

Exceptions

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

Parameters

index int
in Index of the DeviceInfo item to set.

deviceInfoItem DeviceInfo
in DeviceInfo item to set.

Exceptions

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

Parameters

index int
in Index of the DeviceInfo item to set.

deviceInfoItem DeviceInfo
in DeviceInfo item to set.

Exceptions

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

hDeviceInfoItem ID3_DEVICES_DEVICE_INFO
in DeviceInfo item to set.

Returns

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