DeviceParameterDescriptor.valueAsInt Property

Module: DeviceParameterDescriptor

Type: int

Definition

Represents the parameter’s value when the parameter type is an integer

This facilitates direct manipulation of numeric settings.

value_as_int: int

Exceptions

An error has occurred during Devices Library execution.
int get valueAsInt => getValueAsInt();
set valueAsInt(int value) => setValueAsInt(value);

Exceptions

An error has occurred during Devices Library execution.
public int valueAsInt
{
    get => GetvalueAsInt();
    set => SetvalueAsInt(ref value);
}

Exceptions

An error has occurred during Devices Library execution.
public int getValueAsInt() throws DevicesException
public void setValueAsInt(int valueAsInt) throws DevicesException

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesDeviceParameterDescriptor_GetValueAsInt (ID3_DEVICES_DEVICE_PARAMETER_DESCRIPTOR hDeviceParameterDescriptor, int * valueAsInt)
int id3DevicesDeviceParameterDescriptor_SetValueAsInt (ID3_DEVICES_DEVICE_PARAMETER_DESCRIPTOR hDeviceParameterDescriptor, int valueAsInt)

Returns

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