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

# BlocksCollection オブジェクトの Add メソッド

このメソッドは、コレクションの末尾にブロックを追加します。追加されるのは、既存のオブジェクトへの参照です。

## 構文

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

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

## パラメーター

**item**

\[in] ブロックのコレクションに追加する [**Block**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/block.md) オブジェクトを指定します。

## 戻り値

このメソッドには固有の戻り値はありません。[ABBYY FlexiCapture SDK 関数の標準の戻り値](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/errorcodes.md)を返します。

## 関連項目

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

[コレクションの操作](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/collections.md)
