OPC Studio User's Guide and Reference
IWritableDirectoryContents Interface Methods

OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Extensions.FileProviders Namespace : IWritableDirectoryContents Interface

For a list of all members of this type, see IWritableDirectoryContents members.

Public Methods
 NameDescription
 MethodCreates a directory.  
 MethodDeletes a directory represented by this IWritableDirectoryContents, specifying whether to delete subdirectories and files.  
 MethodObtains a directory contents at the given path. (Inherited from OpcLabs.BaseLib.Extensions.FileProviders.IDirectory2)
 MethodReturns an enumerator that iterates through the collection. (Inherited from System.Collections.Generic.IEnumerable<IFileInfo>)
 MethodObtain a file info at the given path. (Inherited from OpcLabs.BaseLib.Extensions.FileProviders.IDirectory2)
 MethodEnumerate a directory at the given path, if any, and provide support for directory modifications. (Inherited from OpcLabs.BaseLib.Extensions.FileProviders.IWritableDirectory)
 MethodLocate a file at the given path, with support for writing and modifications. (Inherited from OpcLabs.BaseLib.Extensions.FileProviders.IWritableDirectory)
 MethodMoves a directory and its contents to a new path.  
Top
Extension Methods
 NameDescription
Public Extension MethodEnumerates subdirectories and files in the given directory only.
Public Extension MethodOverloaded. Enumerates subdirectories and files in the given directory, recursively.
Public Extension MethodOverloaded. Browses a tree of subdirectories and (optionally) files in the given directory, recursively.
Public Extension MethodClears (deletes) the contents of the directory, without deleting the directory itself.
Public Extension MethodOverloaded. Copies the directory into another writable directory contents.
Public Extension MethodCreates a subdirectory or subdirectories on the specified path. The specified path can be relative to this instance of the IWritableDirectoryContents.
Public Extension MethodDeletes a directory and its contents from a path.
Public Extension MethodInfrastructure. This method is provided for implementors.
Public Extension MethodDelete a file or subdirectory specified by a relative path.
Public Extension MethodOverloaded. Deletes a subdirectory.
Public Extension MethodOverloaded. Computes the directory statistics, such as total number of bytes in directory files, and number of files and subdirectories contained in the directory.
Public Extension MethodOverloaded. Loads the contents of the directory from a physical directory.
Public Extension MethodOverloaded. Moves the directory into another writable directory contents.
Public Extension MethodRenames a directory.
Public Extension MethodOverloaded. Saves the contents of the directory into a physical directory.
Top
See Also

Reference

IWritableDirectoryContents Interface
OpcLabs.BaseLib.Extensions.FileProviders Namespace