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

# IExportAttachments

> ABBYY FlexiCapture Scanning Station のスクリプトにおける IExportAttachments オブジェクト。エクスポート可能なバッチアイテムに関連付けられたバイナリ添付ファイルの有無を確認し、保存します。

<div id="what-it-does">
  ## 機能
</div>

ユーザーのバイナリデータまたはファイルをworkspace内の項目に関連付けるために使用します。

<div id="methods">
  ## メソッド
</div>

| **定義**                                  | **説明**                                    |
| --------------------------------------- | ----------------------------------------- |
| Has (name: string): bool                | 添付ファイルの配列に、指定した名前の添付ファイルが含まれているかどうかを確認します |
| SaveToFile (name: string, path: string) | 指定した名前の添付ファイルを、指定したパスに保存します               |

<div id="properties">
  ## プロパティ
</div>

| **名前**                   | **型**                                                                                     | **アクセス** | **説明**                      |
| ------------------------ | ----------------------------------------------------------------------------------------- | -------- | --------------------------- |
| Names                    | VARIANT                                                                                   | 読み取り専用   | 添付ファイル名の配列                  |
| IsEmpty                  | bool                                                                                      | 読み取り専用   | ユーザー添付ファイルの配列が空かどうかを示します    |
| ByteArray (name: string) | [IAttachmentByteArray](/ja/flexi-capture/scanning-station/shared/scripts/attachment-byte) | 読み取り専用   | 指定した名前の添付ファイルのバイナリデータを取得します |
