> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# StringsCollection Object (IStringsCollection Interface)

This object represents a collection of strings. It exposes the standard collection functionality. This object serves as a storage to pass parameters to those ABBYY FlexiCapture SDK functions that require them. It may also be return value of ABBYY FlexiCapture SDK methods.

## Properties

| **Name** | **Type** | **Description** |
| - | - | - |
| [**Count**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/count.md) | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | Stores the number of elements in the collection. |
| [**Element**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/element.md) | [**String**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md) | Provides access to a single element of the collection. |

## Methods

| **Name** | **Description** |
| - | - |
| [**Add**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/add.md) | Adds a new element at the end of the collection. |
| [**CopyFrom**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/copyfrom.md) | Initializes properties of the current object with values of similar properties of another object. |
| [**DeleteAt**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/deleteat.md) | Removes an element from the collection. |
| [**DeleteAll**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/deleteall.md) | Removes all the elements from the collection. |
| [**InsertAt**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/insert.md) | Inserts a new element into the specified position in the collection. |
| [**Item**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/item.md) | Provides access to a single element of the collection. |

## Output parameter

This object is the output parameter of the following methods:

* [**AddImages**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch-addimages.md) method and [**Errors**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch.md#errors), [**Warnings**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch.md#warnings) properties of the [**Batch**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch.md) object
* [**ClassNames**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/confusionmatrix.md#classnames) property of the [**ConfusionMatrix**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/confusionmatrix.md) object
* [**CreateStringsCollection**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine-createxxx.md) method of the [**Engine**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine.md) object
* [**Errors**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/project.md#errors) and [**Warnings**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/project.md#warnings) properties of the [**Project**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/project.md) object
* [**Errors**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/documentdefinition.md#errors) and [**Warnings**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/documentdefinition.md#warnings) properties of the [**DocumentDefinition**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/documentdefinition.md) object
* [**Errors**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/sectiondefinition.md#errors) and [**Warnings**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/sectiondefinition.md#warnings) properties of the [**SectionDefinition**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/sectiondefinition.md) object
* [**Errors**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/fieldvalue.md#errors) and [**Warnings**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/fieldvalue.md#warnings) properties of the [**FieldValue**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/fieldvalue.md) object
* [**Errors**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/verificationsession.md#errors) and [**Warnings**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/verificationsession.md#warnings) properties of the [**VerificationSession**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/verificationsession.md#errors) object
* [**Suggests**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/field.md#suggests) property of the [**Field**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/field.md) object
* [**GetRow**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/lookupresult-getrow.md) method and [**ColumnsNames**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/lookupresult.md#columnsnames) property of the [**LookUpResult**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/lookupresult.md) object
* [**Languages**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/country.md#languages) property of the [**Country**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/country.md) object
* [**FeatureFields**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/invoicefeature.md#featurefields) property of the [**InvoiceFeature**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/invoicefeature.md) object
* [**TaxNames**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/taxgroup.md#taxnames) property of the [**TaxGroup**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/taxgroup.md) object

## Input parameter

This object is the input parameter of the following methods:

* [**AddImages**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch-addimages.md) method of the [**Batch**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch.md) object
* [**AddNewFixed**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/documentdefinitions-addnewfixed.md) method of the [**DocumentDefinitions**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/documentdefinitions.md) object

## Samples

> [accordion] C++ (COM) code
>
> ```cpp theme={null}
> // Global ABBYY FlexiCapture SDK Engine object.
> FCEngine::IEnginePtr Engine;
> ...
> // Create the collection and add strings
> FCEngine::IStringsCollectionPtr fileList = Engine->CreateStringsCollection();
> fileList->Add( L"D:\\SampleImages\\0001.tif" );
> fileList->Add( L"D:\\SampleImages\\0002.tif" );
> fileList->Add( L"D:\\SampleImages\\0003.tif" );
> ...
> // Use the collection as the input parameter of some method.
> // Suppose we already have a pointer to the Batch object.
> FCEngine::IStringsCollectionPtr passwordProtected;
> FCEngine::IIntsCollectionPtr docIdList = batch->AddImages( fileList, -1, 0, 0, &passwordProtected );
> ```

## Samples

This object is used in the following code samples: [Fixed Forms](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/samples.md#fixedforms).

## See also

[Working with Collections](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/collections.md)

[Working with Properties](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md)
