IFsiDirectoryItem interface (imapi2fs.h)

Use this interface to add items to or remove items from the file-system image.

To get this interface, call the IFileSystemImage::CreateDirectoryItem method.

Inheritance

The IFsiDirectoryItem interface inherits from IFsiItem. IFsiDirectoryItem also has these types of members:

Methods

The IFsiDirectoryItem interface has these methods.

 
IFsiDirectoryItem::Add

Adds a file or directory described by the IFsiItem object to the file system image.
IFsiDirectoryItem::AddDirectory

Adds a directory to the file system image.
IFsiDirectoryItem::AddFile

Adds a file to the file system image.
IFsiDirectoryItem::AddTree

Adds the contents of a directory tree to the file system image.
IFsiDirectoryItem::get__NewEnum

Retrieves a list of child items contained within the directory in the file system image. (IFsiDirectoryItem.get__NewEnum)
IFsiDirectoryItem::get_Count

Number of child items in the enumeration.
IFsiDirectoryItem::get_EnumFsiItems

Retrieves a list of child items contained within the directory in the file system image. (IFsiDirectoryItem.get_EnumFsiItems)
IFsiDirectoryItem::get_Item

Retrieves the specified directory or file item from file system image.
IFsiDirectoryItem::Remove

Removes the specified item from the file system image.
IFsiDirectoryItem::RemoveTree

Remove the specified directory tree from the file system image.

Remarks

Each directory item contains an enumerable collection of child items within the directory.

You can add and remove files and directories only after the directory item has been added to the file system image.

This is an FsiDirectoryItem object in script.

Requirements

Requirement Value
Minimum supported client Windows Vista, Windows XP with SP2 [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header imapi2fs.h

See also

IFileSystemImage::CreateDirectoryItem

IFsiItem