DeviceModelList.add Method

Module: DeviceModelList

Definition

Adds an item to the DeviceModelList object.

add(self, device_model_item: DeviceModel) -> None

Parameters

device_model_item DeviceModel
in DeviceModel item to add.

Exceptions

An error has occurred during Devices Library execution.
void add(DeviceModel deviceModelItem)

Parameters

deviceModelItem DeviceModel
in DeviceModel item to add.

Exceptions

An error has occurred during Devices Library execution.
public void Add(DeviceModel deviceModelItem)

Parameters

deviceModelItem DeviceModel
in DeviceModel item to add.

Exceptions

An error has occurred during Devices Library execution.
public void add(DeviceModel deviceModelItem) throws DevicesException

Parameters

deviceModelItem DeviceModel
in DeviceModel item to add.

Exceptions

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

Parameters

in Handle to the DeviceModelList object.

hDeviceModelItem ID3_DEVICES_DEVICE_MODEL
in DeviceModel item to add.

Returns

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