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

# Add Method of BlocksCollection Object

This method adds a block at the end of the collection. The method adds a reference to an existing object.

## Syntax

```vb Visual Basic .NET theme={null}
Sub Add(item As Block)
```

```cpp C++ theme={null}
HRESULT Add(
  IBlock* item
);
```

## Parameters

**item**

\[in] Refers to the [**Block**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/block.md) object, which should be added to the collection of blocks.

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

## See also

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

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