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

This method creates a new [**SectionDefinition**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/sectiondefinition.md) object and adds it at the end of the collection.

## Syntax

```vb Visual Basic .NET theme={null}
Function AddNew(name As String) As SectionDefinition
```

```cpp C++ theme={null}
HRESULT AddNew(
  BSTR                 name,
  ISectionDefinition** result
);
```

## Parameters

**name**

\[in] This parameter specifies the name of the new section definition.

**result**

\[out, retval] A pointer to the **ISectionDefinition\*** pointer variable that receives the interface pointer of the added [**SectionDefinition**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/sectiondefinition.md) object.

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

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

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