StringDict Class¶
Namespace: id3.Document
Definition¶
Represents a string dictionary.
class StringDict
class StringDict implements Finalizable
public partial class StringDict
public class StringDict implements AutoCloseable, Serializable
public class StringDict
typedef struct id3DocumentStringDict *ID3_DOCUMENT_STRING_DICT;
Usage¶
stringDictInstance = id3document.StringDict()
Explicit destruction
# ...
del stringDictInstance
final stringDictInstance = sdk.StringDict();
// ...
Explicit destruction
// ...
stringDictInstance.dispose()
using (var stringDictInstance = new StringDict())
{
// ...
}
Explicit destruction
var stringDictInstance = new StringDict()
// ...
stringDictInstance.Dispose()
try (StringDict stringDictInstance = new StringDict()) {
// ...
}
Explicit destruction
StringDict stringDictInstance = new StringDict();
// ...
stringDictInstance.close();
private var stringDictInstance: StringDict? = nil
stringDictInstance = try StringDict()
ID3_DOCUMENT_STRING_DICT hStringDict{};
int err = id3DocumentStringDict_Initialize(&hStringDict);
if (err == ID3_SUCCESS) {
// ...
id3DocumentStringDict_Dispose(&hStringDict);
}
Properties¶
Name |
Type |
Description |
---|---|---|
int |
Gets the number of elements contained in the dict |
|
Gets a string list containing the keys in the dict. |
||
operator [string key] |
string |
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 |
---|---|
Adds an item to the StringDict object. |
|
Clears the StringDict object. |
|
Clones the StringDict object. |
|
Determines whether the StringDictobject contains the specified key. |
|
Gets an item of the StringDict object. |
|
Gets the number of elements in the StringDict object. |
|
Removes an element of the StringDict object. |
|
Sets an item of the StringDict object. |