[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Inherit=FileSystemInfo Info=Exposes instance methods for creating, moving, and enumerating through directories and subdirectories. [Property] Path=Sets the specified path. This cannot be a different disk volume or Universal Naming Convention (UNC) name. ARG(string)|2| Destination=Sets the name and path to which to move this directory. The destination cannot be another disk volume or a directory with the identical name. It can be an existing directory to which you want to add this directory as a subdirectory. ARG(string)|2| Recursive=Sets a value indicating whether to delete this directory, its subdirectories, and all files. ARG(bool)|14|1|true,false SearchPattern=Sets the search string. The default pattern is "*", which returns all directories. ARG(string)|2| [Methods] *doConstructor=Initializes a new instance of the DirectoryInfo class on the specified path. ARG(string path)|1|0 doCreate=Creates a directory. ARG()|1|0 *doCreate2=Creates a directory using a DirectorySecurity object. ARG(DirectorySecurity security)|1|0 *doCreateSubdirectory=Creates a subdirectory or subdirectories on the specified path. The specified path can be relative to this instance of the DirectoryInfo class. ARG(string path)|1|0 *doCreateSubdirectory2=Creates a subdirectory or subdirectories on the specified path with the specified security. The specified path can be relative to this instance of the DirectoryInfo class. ARG(string path, DirectorySecurity security)|1|0 *doDelete=Deletes this DirectoryInfo if it is empty. ARG()|1|0 *doDelete2=Deletes this instance of a DirectoryInfo, specifying whether to delete subdirectories and files. ARG(bool recursive)|1|0 *doEnumerateDirectories2=Returns an enumerable collection of directory information that matches a specified search pattern. ARG(string searchPattern)|1|0 *doEnumerateDirectories3=Returns an enumerable collection of directory information that matches a specified search pattern and search subdirectory option. ARG(string searchPattern, SearchOption searchOption)|1|0 *doEnumerateFiles2=Returns an enumerable collection of file information that matches a search pattern. ARG(string searchPattern)|1|0 *doEnumerateFiles3=Returns an enumerable collection of file information that matches a specified search pattern and search subdirectory option. ARG(string searchPattern, SearchOption searchOption)|1|0 *doEnumerateFileSystemInfos2=Returns an enumerable collection of file system information that matches a specified search pattern. ARG(string searchPattern)|1|0 *doEnumerateFileSystemInfos3=Returns an enumerable collection of file system information that matches a specified search pattern and search subdirectory option. ARG(string searchPattern, SearchOption searchOption)|1|0 *doGetAccessControl2=Gets a DirectorySecurity object that encapsulates the specified type of access control list entries for the directory described by the current DirectoryInfo object. ARG(AccessControlSections includeSections)|1|0 *doGetDirectories2=Returns an array of directories in the current DirectoryInfo matching the given search criteria. ARG(string searchPattern)|1|0 *doGetDirectories3=Returns an array of directories in the current DirectoryInfo matching the given search criteria and using a value to determine whether to search subdirectories. ARG(string searchPattern, SearchOption searchOption)|1|0 *doGetFiles2=Returns a file list from the current directory matching the given search pattern. ARG(string searchPattern)|1|0 *doGetFiles3=Returns a file list from the current directory matching the given search pattern and using a value to determine whether to search subdirectories. ARG(string searchPattern, SearchOption searchOption)|1|0 *doGetFileSystemInfos2=Retrieves an array of strongly typed FileSystemInfo objects representing the files and subdirectories that match the specified search criteria. ARG(string searchPattern)|1|0 *doGetFileSystemInfos3=Retrieves an array of FileSystemInfo objects that represent the files and subdirectories matching the specified search criteria. ARG(string searchPattern, SearchOption searchOption)|1|0 *doMoveTo=Moves a DirectoryInfo instance and its contents to a new path. ARG(string destination)|1|0 *doSetAccessControl=Applies access control list entries described by a DirectorySecurity object to the directory described by the current DirectoryInfo object. ARG(DirectorySecurity security)|1|0 *onCreateSubdirectory=Occurs after invoke the method doCreateSubdirectory and returns the result. ARG(DirectoryInfo)|2|0 *onEnumerateDirectories=Occurs after invoke the method doEnumerateDirectories and returns the result. ARG(IEnumerable)|2|0 *onEnumerateFiles=Occurs after invoke the method doEnumerateFiles and returns the result. ARG(IEnumerable)|2|0 *onEnumerateFileSystemInfos=Occurs after invoke the method doEnumerateFileSystemInfos and returns the result. ARG(IEnumerable)|2|0 onError=If an error occurs, an error message appears. ARG(string)|2|2 *onGetAccessControl=Occurs after invoke the method doGetAccessControl and returns the result. ARG(DirectorySecurity)|2|0 *onGetDirectories=Occurs after invoke the method doGetDirectories and returns the result. ARG(DirectoryInfo[])|2|13 *onGetFiles=Occurs after invoke the method doGetFiles and returns the result. ARG(FileInfo[])|2|13 *onGetFileSystemInfos=Occurs after invoke the method doGetFileSystemInfos and returns the result. ARG(FileSystemInfo[])|2|13 *EnumerateDirectories=Returns an enumerable collection of directory information in the current directory. ARG(IEnumerable)|3|0 *EnumerateFiles=Returns an enumerable collection of file information in the current directory. ARG(IEnumerable)|3|0 *EnumerateFileSystemInfos=Returns an enumerable collection of file system information in the current directory. ARG(IEnumerable)|3|0 *Exists=Returns a value indicating whether the directory exists. ARG(bool)|3|104 *GetAccessControl=Gets a DirectorySecurity object that encapsulates the access control list entries for the directory described by the current DirectoryInfo object. ARG(DirectorySecurity)|3|0 *GetDirectories=Returns the subdirectories of the current directory. ARG(DirectoryInfo[])|3|13 *GetFiles=Returns a file list from the current directory. ARG(FileInfo[])|3|13 *GetFileSystemInfos=Returns an array of strongly typed FileSystemInfo entries representing all the files and subdirectories in a directory. ARG(FileSystemInfo[])|3|13 *Name=Returns the name of this DirectoryInfo instance. ARG(string)|3|2 *Parent=Returns the parent directory of a specified subdirectory. ARG(DirectoryInfo)|3|0 *Root=Returns the root portion of a path. ARG(DirectoryInfo)|3|0 *ToString=Returns the original path that was passed by the user. ARG(string)|3|2 DirectoryInfo=Returns the DirectoryInfo object. ARG(DirectoryInfo)|3|0 *Destination=Defines the name and path to which to move this directory. The destination cannot be another disk volume or a directory with the identical name. It can be an existing directory to which you want to add this directory as a subdirectory. ARG(string)|4|2 *Security=Defines the access control to apply to the directory. ARG(DirectorySecurity)|4|0 *Sections=Defines one of the AccessControlSections values that specifies the type of access control list (ACL) information to receive. ARG(AccessControlSections)|4|0 Path=Defines the specified path. ARG(string)|4|2 *Recursive=Defines a value indicating whether to delete this directory, its subdirectories, and all files. ARG(bool)|4|104 *SearchOption=Defines one of the enumeration values that specifies whether the search operation should include only the current directory or all subdirectories. The default value is TopDirectoryOnly. ARG(SearchOption)|4|0 *SearchPattern=Defines the search string. ARG(string)|4|2