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

# Detach Method of the Handle Object

This method returns the handle as **void\*** and detaches the object from it. After this method is called, the developer is responsible for releasing the resource.

## Syntax

```cpp C++ theme={null}
HRESULT Detach( void* Result );
```

```csharp C# theme={null}
IntPtr Detach();
```

```vb Visual Basic .NET theme={null}
Function Detach() As IntPtr
```

## Parameters

**Result**

\[out, retval] Returns the handle of the resource as [**HANDLE\***](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md).

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

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