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

# Close Method of the Project Object

This method closes the project.

Release all the references to the **Project** object, and then call this method. An open project uses more resources than a closed one. So if you have finished your work with the project and need to free the resources, call this method to close the project. We recommend using this method in **finally** blocks.

## Syntax

```vb Visual Basic .NET theme={null}
Sub Close()
```

```cpp C++ theme={null}
HRESULT Close();
```

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

## Samples

This method is used in the following code samples: [Hello](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/samples.md#hello).

## See also

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

[**IEngine::OpenProject**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine-openproject.md)
