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

# AddNew Method of the FieldInstances Object

This method adds a field instance at the specified position in the collection.

## Syntax

```vb Visual Basic .NET theme={null}
Function AddNew(Index As Integer) As Field
```

```cpp C++ theme={null}
HRESULT AddNew(
  int      Index,
  IField** Result
);
```

## Parameters

**Index**

\[in] Specifies the index of the field instance in the collection. The value of this parameter can be -1, which means that the field instance is added at the end of the collection.

**Result**

\[out, retval] A pointer to the [**IField**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/field.md)**\*** variable that receives the interface pointer for the added field instance.

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

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

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