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

# VirtualFileSystemNode オブジェクト (IVirtualFileSystemNode インターフェイス)

このオブジェクトは、仮想ファイルシステム (VFS) のノードを表します。これらのノードを使用すると、[**Project**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/project.md) オブジェクトの [**ExportToMemory**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/project-exporttomemory.md) メソッドおよび [**Batch**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/batch.md) オブジェクトの [**ExportToMemory**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/batch-exporttomemory.md) メソッドで取得したエクスポート結果に、VFS 内でアクセスできます。

仮想ファイルシステムとは、メモリ上に存在するファイルストレージをツリー構造でモデル化したものです。VFS はファイルシステムの機能を提供し、ファイルストレージの構造と構成をユーザー空間にマッピングします。通常、仮想ファイルシステムの各ノードはファイルまたはディレクトリのいずれかです。VFS のルートノードは常にディレクトリです。

> [!NOTE]
>
> **ExportToMemory** メソッドの結果として取得したルートの **VirtualFileSystemNode** オブジェクトが存在している間は、エクスポート結果が占有しているメモリは解放されません。[**ReleaseMemory**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/virtualfilesystemnode-releasememory.md) メソッドを呼び出してメモリを解放することもできます。

## Properties

| **名前** | **型** | **説明** |
| - | - | - |
| **ChildItems** | [**VirtualFileSystemNodes**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/virtualfilesystemnodes.md), [読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | 現在のノードの子ノードのコレクションを返します。 このプロパティはディレクトリでのみ使用できます。 |
| **IsDirectory** | [**ブール型**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md), 読み取り専用 | ノードがディレクトリかどうかを示します。 |
| **IsRoot** | [**ブール型**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md), 読み取り専用 | ノードがルートかどうかを示します。 |
| **Name** | [**String**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md), 読み取り専用 | ノードの名前を返します。 ルートノードの名前は空文字列です。 |
| **Size** | [**Integer**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md), 読み取り専用 | ノードのサイズ (バイト単位) 。 このプロパティはファイルでのみ使用できます。 |

## メソッド

| **名前** | **説明** |
| - | - |
| [**ReleaseMemory**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/virtualfilesystemnode-releasememory.md) | エクスポート結果が占有しているメモリを解放します。 |
| [**SaveToStream**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/virtualfilesystemnode-savetostream.md) | ファイルの内容をストリームに保存します。 |

## 関連オブジェクト

![](https://mintcdn.com/abbyy/DUHPkwoM_QL6XAR5/images/flexi-capture/sdk/VirtualFileSystemNode.gif?s=15f113dab176ac578286c14b8e7d9f17)

## 出力パラメーター

このオブジェクトは、次のメソッドの出力パラメーターです。

* [**Project**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/project.md) オブジェクトの [**ExportToMemory**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/project-exporttomemory.md) メソッド
* [**Batch**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/batch.md) オブジェクトの [**ExportToMemory**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/batch-exporttomemory.md) メソッド

> [!NOTE]
>
> これらのメソッドの戻り値は、ルートノードのみです。

## 参照

## [VirtualFileSystemNodes](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/virtualfilesystemnodes.md)

[コレクションの操作](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/collections.md)

[Properties の操作](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md)
