DocumentInfoDictionary.containsKey Method

Module: DocumentInfoDictionary

Definition

Determines whether the DocumentInfoDictionaryobject contains the specified key.

contains_key(self, key: str) -> bool

Parameters

key str
in The key to locate in the DocumentInfo object.

Returns

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

Exceptions

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

Parameters

key String
in The key to locate in the DocumentInfo object.

Returns

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

Exceptions

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

Parameters

key string
in The key to locate in the DocumentInfo object.

Returns

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

Exceptions

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

Parameters

key String
in The key to locate in the DocumentInfo object.

Returns

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

Exceptions

An error has occurred during Document Library execution.
public func containsKey(key: String) throws -> Bool

Parameters

key String
in The key to locate in the DocumentInfo object.

Returns

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

Exceptions

An error has occurred during Document Library execution.
int id3DocumentInfoDictionary_ContainsKey (
    ID3_DOCUMENT_INFO_DICTIONARY hDocumentInfoDictionary,
    const char * key,
    bool * result)

Parameters

hDocumentInfoDictionary ID3_DOCUMENT_INFO_DICTIONARY
in Handle to the DocumentInfoDictionary object.

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

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

Returns

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