StringList Class¶
Namespace: id3.Finger
Definition¶
Represents a list of strings.
class StringList
class StringList implements Finalizable
public partial class StringList
public class StringList implements AutoCloseable, Serializable
public class StringList
typedef struct id3FingerStringList *ID3_FINGER_STRING_LIST;
Usage¶
stringListInstance = StringList()
# ...
Explicit destruction
# ...
del stringListInstance
final stringListInstance = sdk.StringList();
// ...
Explicit destruction
// ...
stringListInstance.dispose()
using (var stringListInstance = new StringList())
{
// ...
}
Explicit destruction
var stringListInstance = new StringList()
// ...
stringListInstance.Dispose()
try (StringList stringListInstance = new StringList()) {
// ...
}
Explicit destruction
StringList stringListInstance = new StringList();
// ...
stringListInstance.close();
private var stringListInstance: StringList? = nil
stringListInstance = try StringList()
ID3_FINGER_STRING_LIST hStringList{};
int err = id3FingerStringList_Initialize(&hStringList);
if (err == ID3_SUCCESS) {
// ...
id3FingerStringList_Dispose(&hStringList);
}
Properties¶
Name |
Type |
Description |
---|---|---|
int |
Gets the number of elements contained in the list |
|
operator [int index] |
string |
Gets or sets the element at the specified index in the list. |
Iteration¶
This class supports iteration in Dart, C#, Java and Python.
Methods¶
Name |
Description |
---|---|
Adds an item to the StringList object. |
|
Clears the StringList object. |
|
Gets an item of the StringList object. |
|
Gets the number of elements in the StringList object. |
|
Removes an element of the StringList object. |
|
StringList object. |
|
Sets an item of the StringList object. |