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

# SaveToArray Method of the Handle Object

This method saves the object contents as an array of bytes.

## Syntax

```cpp C++ theme={null}
HRESULT SaveToArray( SAFEARRAY(Byte)* Result );
```

```csharp C# theme={null}
byte[] SaveToArray();
```

```vb Visual Basic .NET theme={null}
Function SaveToArray() As Byte
```

## Parameters

**Result**

\[out] This parameter refers to a data to be saved as an array of bytes.

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