This interface represents a folder in a virtualized filesystem.
| C# | Visual Basic | Managed C++ |
public interface IFolder : IFilesystemObject, IDisposable
Public Interface IFolder _ Implements IFilesystemObject, IDisposable
public interface class IFolder : IFilesystemObject, IDisposable
| All Members | Constructors | Methods | Properties | Fields | Events |
| Icon | Member | Description |
|---|---|---|
| CreateFile(String) |
Create a file with the given name.
| |
| CreateFolder(String) |
Create a subfolder with the given name.
| |
| DeleteFile(String) |
Delete the file with the given name in this folder.
| |
| DeleteFolder(String) |
Delete the subfolder with the given name.
| |
| DeleteFolder(String, Boolean) |
Delete the subfolder with the given name and, optionally, all of its subfolders and files in it recursively.
| |
| Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
| FileExists(String) |
Test whether a file with the given name exists in the folder.
| |
| Files |
Returns the names of files in this folder.
| |
| FolderExists(String) |
Test whether a subfolder with the given name exists in the folder.
| |
| Folders |
Returns the names of subfolders in this folder.
| |
| Name |
The name of the filesystem object.
(Inherited from IFilesystemObject.) | |
| OpenFile(String, FileMode) |
Opens the file with the given name.
| |
| OpenFile(String, FileMode, FileAccess) |
Opens the file with the given name, and with the given access.
| |
| OpenFile(String, FileMode, FileAccess, FileShare) |
Opens the file with the given name, access and sharing strategy.
| |
| OpenFile(String, FileMode, FileAccess, FileShare, FileFlags) |
Opens the file with the given name, access, sharing strategy and flags.
| |
| OpenFolder(String) |
Opens the subfolder with the given name.
| |
| RenameFile(String, String) |
Rename a file in this folder.
| |
| RenameFolder(String, String) |
Rename a subfolder.
| |
| Type |
The type of the filesystem object.
(Inherited from IFilesystemObject.) |