DocumentInfoDictionary Class

Namespace: id3.Document

Definition

Represents a dictionary of document information.
class DocumentInfoDictionary
class DocumentInfoDictionary implements Finalizable
public partial class DocumentInfoDictionary
public class DocumentInfoDictionary implements AutoCloseable, Serializable
public class DocumentInfoDictionary
typedef struct id3DocumentInfoDictionary *ID3_DOCUMENT_INFO_DICTIONARY;

Usage

documentInfoDictionaryInstance = id3document.DocumentInfoDictionary()

Explicit destruction

# ...
del documentInfoDictionaryInstance
final documentInfoDictionaryInstance = sdk.DocumentInfoDictionary();
// ...

Explicit destruction

// ...
documentInfoDictionaryInstance.dispose()
using (var documentInfoDictionaryInstance = new DocumentInfoDictionary())
{
   // ...
}

Explicit destruction

var documentInfoDictionaryInstance = new DocumentInfoDictionary()
// ...
documentInfoDictionaryInstance.Dispose()
try (DocumentInfoDictionary documentInfoDictionaryInstance = new DocumentInfoDictionary()) {
// ...
}

Explicit destruction

DocumentInfoDictionary documentInfoDictionaryInstance = new DocumentInfoDictionary();
// ...
documentInfoDictionaryInstance.close();
private var documentInfoDictionaryInstance: DocumentInfoDictionary? = nil
documentInfoDictionaryInstance = try DocumentInfoDictionary()
ID3_DOCUMENT_INFO_DICTIONARY hDocumentInfoDictionary{};
int err = id3DocumentInfoDictionary_Initialize(&hDocumentInfoDictionary);
if (err == ID3_SUCCESS) {
    // ...
    id3DocumentInfoDictionary_Dispose(&hDocumentInfoDictionary);
}

Properties

Name

Type

Description

count

int

Gets the number of elements contained in the dict

keys

StringList

Gets a string list containing the keys in the dict.

operator [string key]

DocumentInfo

Gets or sets the element for the key in the dict.

Iteration

This class supports iteration in Dart, C#, Java and Python.

The iteration is done on keys

Methods

Name

Description

add

Adds an item to the DocumentInfoDictionary object.

clear

Clears the DocumentInfoDictionary object.

clone

Clones the DocumentInfoDictionary object.

containsKey

Determines whether the DocumentInfoDictionaryobject contains the specified key.

get

Gets an item of the DocumentInfoDictionary object.

getCount

Gets the number of elements in the DocumentInfoDictionary object.

remove

Removes an element of the DocumentInfoDictionary object.

set

Sets an item of the DocumentInfoDictionary object.