> ## 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 メソッド

このメソッドは、オブジェクトの内容をバイト配列として保存します。

## 構文

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

## パラメーター

**Result**

\[out] このパラメーターは、バイト配列として保存するデータを表します。

## 戻り値

このメソッドに固有の戻り値はありません。[ABBYY FlexiCapture SDK 関数の標準の戻り値](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/errorcodes.md)を返します。

## 関連項目

[**ハンドル**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/handle.md)
