DevicesJson.containsKey Method

Module: DevicesJson

Definition

Determines whether the DevicesJsonobject contains the specified key.

contains_key(self, key: str) -> bool

Parameters

key str
in The key to locate in the object.

Returns

bool
true if the object contains an element with the specified key, otherwise false.

Exceptions

An error has occurred during Devices Library execution.
bool containsKey(String? key)

Parameters

key String
in The key to locate in the object.

Returns

bool
true if the object contains an element with the specified key, otherwise false.

Exceptions

An error has occurred during Devices Library execution.
public bool ContainsKey(string key)

Parameters

key string
in The key to locate in the object.

Returns

bool
true if the object contains an element with the specified key, otherwise false.

Exceptions

An error has occurred during Devices Library execution.
public boolean containsKey(String key) throws DevicesException

Parameters

key String
in The key to locate in the object.

Returns

boolean
true if the object contains an element with the specified key, otherwise false.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesJson_ContainsKey (
    ID3_DEVICES_JSON hDevicesJson,
    const char * key,
    bool * result)

Parameters

hDevicesJson ID3_DEVICES_JSON
in Handle to the DevicesJson object.

key const char *
in The key to locate in the object.

result bool *
out true if the object contains an element with the specified key, otherwise false.

Returns

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