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

# TextFieldList Class

Namespace: id3.Document

## Definition

Represents a list of text fields extracted from a document.
Python

    class TextFieldList

Dart

    class TextFieldList implements Finalizable

C#

    public partial class TextFieldList

Java

    public class TextFieldList implements AutoCloseable, Serializable

Swift

    public class TextFieldList

C

    typedef struct id3DocumentTextFieldList *ID3_DOCUMENT_TEXT_FIELD_LIST;

## Usage

Python

    textFieldListInstance = TextFieldList()
    # ...

Explicit destruction

    # ...
    del textFieldListInstance

Dart

    final textFieldListInstance = sdk.TextFieldList();
    // ...

Explicit destruction

    // ...
    textFieldListInstance.dispose()

C#

    using (var textFieldListInstance = new TextFieldList())
    {
       // ...
    }

Explicit destruction

    var textFieldListInstance = new TextFieldList()
    // ...
    textFieldListInstance.Dispose()

Java

    try (TextFieldList textFieldListInstance = new TextFieldList()) {
    // ...
    }

Explicit destruction

    TextFieldList textFieldListInstance = new TextFieldList();
    // ...
    textFieldListInstance.close();

Swift

    private var textFieldListInstance: TextFieldList? = nil
    textFieldListInstance = try TextFieldList()

C

    ID3_DOCUMENT_TEXT_FIELD_LIST hTextFieldList{};
    int err = id3DocumentTextFieldList_Initialize(&hTextFieldList);
    if (err == ID3_SUCCESS) {
        // ...
        id3DocumentTextFieldList_Dispose(&hTextFieldList);
    }

## Properties

Name | Type | Description
--- | --- | ---
count | int | Gets the number of elements contained in the list
operator [int index] | TextField | 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
--- | ---
add | Adds an item to the TextFieldList object.
clear | Clears the TextFieldList object.
clone | Clones the TextFieldList object.
get | Gets an item of the TextFieldList object.
getCount | Gets the number of elements in the TextFieldList object.
removeAt | Removes an element of the TextFieldList object.
resize | TextFieldList object.
set | Sets an item of the TextFieldList object.