> ## 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.

# DeleteAt Method

This method is specific to [collection objects](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/collections.md). It removes an element from collection by its index.

## Syntax

```vb Visual Basic .NET theme={null}
Sub DeleteAt(Index As Integer)
```

```cpp C++ theme={null}
HRESULT DeleteAt(
  int Index
);
```

## Parameters

**Index**

\[in] This variable contains the index of the collection element. It should be in a range from 0 to the value of the [**Count**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/count.md) property of this collection minus 1.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FlexiCapture SDK functions](https://docs.abbyy.com/flexi-capture/sdk/api-reference/errorcodes.md)

## Remarks

The following collection objects provide this method:

* [**BlockTypesCollection**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/blocktypescollection.md)
* [**BusinessUnitRecords**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/businessunitrecords.md)
* [**ClassificationTrainingBatches**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainingbatches.md)
* [**Countries**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/countries.md)
* [**DataSetTableRecords**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/datasettablerecords.md)
* [**ExportProfiles**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/exportprofiles.md)
* [**ExtractionModels**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/extractionmodels.md)
* [**FieldInstances**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/fieldinstances.md)
* [**FieldRegions**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/fieldregions.md)
* [**FieldValuesCollection**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/fieldvaluescollection.md)
* [**FieldsExtractionTrainingBatches**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/fieldsextractiontrainingbatches.md)
* [**HotFolderProfiles**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/hotfolderprofiles.md)
* [**ImageEnhancementProfiles**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageenhancementprofiles.md)
* [**IntsCollection**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/intscollection.md)
* [**InvoiceLanguages**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/invoicelanguages.md)
* [**PageClasses**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/pageclasses.md)
* [**RegionsCollection**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/regionscollection.md)
* [**RegistrationParameters**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/registrationparameters.md)
* [**StatusReasons**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/statusreasons.md)
* [**StringsCollection**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/stringscollection.md)
* [**Taxes**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/taxes.md)
* [**TaxGroups**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/taxgroups.md)
* [**TextsCollection**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/textscollection.md)
* [**VendorRecords**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/vendorrecords.md)

## See also

[**DeleteAll**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/deleteall.md)

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