Export (0) Print
Expand All

FileSystemProxy Methods

The FileSystemProxy type exposes the following members.

  Name Description
Public method CombinePath Combines two paths and returns a properly formatted path.
Public method CopyDirectory(String, String) Copies a directory to another directory.
Public method CopyDirectory(String, String, UIOption) Copies a directory to another directory.
Public method CopyDirectory(String, String, Boolean) Copies a directory to another directory.
Public method CopyDirectory(String, String, UIOption, UICancelOption) Copies a directory to another directory.
Public method CopyFile(String, String) Copies a file to a new location.
Public method CopyFile(String, String, UIOption) Copies a file to a new location.
Public method CopyFile(String, String, Boolean) Copies a file to a new location.
Public method CopyFile(String, String, UIOption, UICancelOption) Copies a file to a new location.
Public method CreateDirectory Creates a directory.
Public method DeleteDirectory(String, DeleteDirectoryOption) Deletes a directory.
Public method DeleteDirectory(String, UIOption, RecycleOption) Deletes a directory.
Public method DeleteDirectory(String, UIOption, RecycleOption, UICancelOption) Deletes a directory.
Public method DeleteFile(String) Deletes a file.
Public method DeleteFile(String, UIOption, RecycleOption) Deletes a file.
Public method DeleteFile(String, UIOption, RecycleOption, UICancelOption) Deletes a file.
Public method DirectoryExists Returns True if the specified directory exists.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method FileExists Returns True if the specified file exists.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindInFiles(String, String, Boolean, SearchOption) Returns a read-only collection of strings representing the names of files containing the specified text.
Public method FindInFiles(String, String, Boolean, SearchOption, String[]) Returns a read-only collection of strings representing the names of files containing the specified text.
Public method GetDirectories(String) Returns a collection of strings representing the path names of subdirectories within a directory.
Public method GetDirectories(String, SearchOption, String[]) Returns a collection of strings representing the path names of subdirectories within a directory.
Public method GetDirectoryInfo Returns a DirectoryInfo object for the specified path.
Public method GetDriveInfo Returns a DriveInfo object for the specified drive.
Public method GetFileInfo Returns a FileInfo object for the specified file.
Public method GetFiles(String) Returns a read-only collection of strings representing the names of files within a directory.
Public method GetFiles(String, SearchOption, String[]) Returns a read-only collection of strings representing the names of files within a directory.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetName Parses the file name out of the path provided.
Public method GetParentPath Returns the parent path of the provided path.
Public method GetTempFileName Creates a uniquely named zero-byte temporary file on disk and returns the full path of that file.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method MoveDirectory(String, String) Moves a directory from one location to another.
Public method MoveDirectory(String, String, UIOption) Moves a directory from one location to another.
Public method MoveDirectory(String, String, Boolean) Moves a directory from one location to another.
Public method MoveDirectory(String, String, UIOption, UICancelOption) Moves a directory from one location to another.
Public method MoveFile(String, String) Moves a file to a new location.
Public method MoveFile(String, String, UIOption) Moves a file to a new location.
Public method MoveFile(String, String, Boolean) Moves a file to a new location.
Public method MoveFile(String, String, UIOption, UICancelOption) Moves a file to a new location.
Public method OpenTextFieldParser(String) The OpenTextFieldParser method allows you to create a TextFieldParser object, which provides a way to easily and efficiently parse structured text files, such as logs. The TextFieldParser object can be used to read both delimited and fixed-width files.
Public method OpenTextFieldParser(String, Int32[]) The OpenTextFieldParser method allows you to create a TextFieldParser object, which provides a way to easily and efficiently parse structured text files, such as logs. The TextFieldParser object can be used to read both delimited and fixed-width files.
Public method OpenTextFieldParser(String, String[]) The OpenTextFieldParser method allows you to create a TextFieldParser object, which provides a way to easily and efficiently parse structured text files, such as logs. The TextFieldParser object can be used to read both delimited and fixed-width files.
Public method OpenTextFileReader(String) Opens a StreamReader object to read from a file.
Public method OpenTextFileReader(String, Encoding) Opens a StreamReader object to read from a file.
Public method OpenTextFileWriter(String, Boolean) Opens a StreamWriter object to write to the specified file.
Public method OpenTextFileWriter(String, Boolean, Encoding) Opens a StreamWriter to write to the specified file.
Public method ReadAllBytes Returns the contents of a file as a byte array.
Public method ReadAllText(String) Returns the contents of a text file as a String.
Public method ReadAllText(String, Encoding) Returns the contents of a text file as a String.
Public method RenameDirectory Renames a directory.
Public method RenameFile Renames a file.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method WriteAllBytes Writes data to a binary file.
Public method WriteAllText(String, String, Boolean) Writes text to a file.
Public method WriteAllText(String, String, Boolean, Encoding) Writes text to a file.
Top
Show:
© 2014 Microsoft