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

# Delete Method of Collection Objects

This method removes the element from the collection.

## Syntax

```vb Visual Basic .NET theme={null}
Sub Delete(Value As <ElementType>)
```

```cpp C++ theme={null}
HRESULT Delete(
  I<ElementType>* Value
);
```

## Parameters

**Value**

\[in] This parameter refers to the object to be deleted. ElementType is the type of objects in the collection. See the table below for details.

## 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 table below describes the collections which provide this property and the types of elements in the collections:

| **Collection type** | **Element type** |
| - | - |
| [**BatchItems**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batchitems.md) | [**BatchItem**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batchitem.md) |
| [**BatchTypes**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batchtypes.md) | [**BatchType**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batchtype.md) |
| [**DocumentDefinitions**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/documentdefinitions.md) | [**DocumentDefinition**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/documentdefinition.md) |
| [**EnvironmentVariables**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/environmentvariables.md) | [**EnvironmentVariable**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/environmentvariable.md) |
| [**ExtractionModels**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/extractionmodels.md) | [**ExtractionModel**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/extractionmodel.md) |
| [**FieldDefinitions**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/fielddefinitions.md) | [**FieldDefinition**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/fielddefinition.md) |
| [**FieldRegions**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/fieldregions.md) | [**FieldRegion**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/fieldregion.md) |
| [**GroupLanguage**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/grouplanguage.md) | [**Language**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/language.md) |
| [**LinksToSections**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/linkstosections.md) | [**LinkToSection**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/linktosection.md) |

## See also

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