Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# ImageDict Class

Namespace: id3.Face

## Definition

This class represents a ImageDict
Python

    class ImageDict

Dart

    class ImageDict implements Finalizable

C#

    public partial class ImageDict

Java

    public class ImageDict implements AutoCloseable, Serializable

Swift

    public class ImageDict

C

    typedef struct id3FaceImageDict *ID3_FACE_IMAGE_DICT;

## Usage

Python

    imageDictInstance = id3face.ImageDict()

Explicit destruction

    # ...
    del imageDictInstance

Dart

    final imageDictInstance = sdk.ImageDict();
    // ...

Explicit destruction

    // ...
    imageDictInstance.dispose()

C#

    using (var imageDictInstance = new ImageDict())
    {
       // ...
    }

Explicit destruction

    var imageDictInstance = new ImageDict()
    // ...
    imageDictInstance.Dispose()

Java

    try (ImageDict imageDictInstance = new ImageDict()) {
    // ...
    }

Explicit destruction

    ImageDict imageDictInstance = new ImageDict();
    // ...
    imageDictInstance.close();

Swift

    private var imageDictInstance: ImageDict? = nil
    imageDictInstance = try ImageDict()

C

    ID3_FACE_IMAGE_DICT hImageDict{};
    int err = id3FaceImageDict_Initialize(&hImageDict);
    if (err == ID3_SUCCESS) {
        // ...
        id3FaceImageDict_Dispose(&hImageDict);
    }

## 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] | Image | 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 ImageDict object.
clear | Clears the ImageDict object.
clone | Clones the ImageDict object.
containsKey | Determines whether the ImageDictobject contains the specified key.
get | Gets an item of the ImageDict object.
getCount | Gets the number of elements in the ImageDict object.
remove | Removes an element of the ImageDict object.
set | Sets an item of the ImageDict object.