IFsiDirectoryItem interface

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

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

Members

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

Methods

The IFsiDirectoryItem interface has these methods.

MethodDescription
Add

Adds a file or directory described by the FsiItem object to the file system image.

AddDirectory

Adds a directory to the file system image.

AddFile

Adds a file to the file system image.

AddTree

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

get__NewEnum

Retrieves a list of child items contained within the directory in the file system image.

get_Count

Number of child items in the enumeration.

get_EnumFsiItems

Retrieves a list of child items contained within the directory in the file system image.

get_Item

Retrieves the specified directory or file item from file system image.

Remove

Removes the specified item from the file system image.

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

Minimum supported client

Windows Vista, Windows XP with SP2 [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

IDL

Imapi2fs.idl

See also

IFileSystemImage::CreateDirectoryItem

 

 

Community Additions

ADD
Show:
© 2015 Microsoft