> ## 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 Object (IVirtualFileSystemNode Interface)

This object represents a node of a virtual file system (VFS). These nodes provide access to export results obtained from the [**ExportToMemory**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/project-exporttomemory.md) method of the [**Project**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/project.md) object and the [**ExportToMemory**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch-exporttomemory.md) method of the [**Batch**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch.md) object within a VFS.

A virtual file system is a tree-based model of a file storage resided in memory. A VFS provides the functionality of a file system and maps a file storage structure and composition to a user space. Generally, each virtual file system node is either a file or a directory. The root node of a VFS is always a directory.

> [!NOTE]
>
> Memory occupied by export results will not be freed up while the root **VirtualFileSystemNode** object obtained as a result of the **ExportToMemory** methods remains alive. You also can call the [**ReleaseMemory**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/virtualfilesystemnode-releasememory.md) method for freeing up memory.

## Properties

| **Name** | **Type** | **Description** |
| - | - | - |
| **ChildItems** | [**VirtualFileSystemNodes**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/virtualfilesystemnodes.md), [read-only](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | Returns the collection of child nodes relative to the current node. This property is available for a directory only. |
| **IsDirectory** | [**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | Specifies whether the node is a directory. |
| **IsRoot** | [**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | Specifies whether the node is root. |
| **Name** | [**String**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | Returns the name of a node. The root node name is an empty string. |
| **Size** | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | The size of a node (in bytes). This property is available for a file only. |

## Methods

| **Name** | **Description** |
| - | - |
| [**ReleaseMemory**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/virtualfilesystemnode-releasememory.md) | Frees up memory occupied by export results. |
| [**SaveToStream**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/virtualfilesystemnode-savetostream.md) | Saves the file's content to the stream. |

## Related objects

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

## Output parameter

This object is the output parameter of the following methods:

* [**ExportToMemory**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/project-exporttomemory.md) method of the [**Project**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/project.md) object
* [**ExportToMemory**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch-exporttomemory.md) method of the [**Batch**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch.md) object

> [!NOTE]
>
> Only a root node is a return value of these methods.

## See also

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

[Working with Collections](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/collections.md)

[Working with Properties](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md)
