Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

FileSystemProxy Methods

(see also Protected Methods )
  Name Description
Public method CombinePath Combines two paths and returns a properly formatted path.
Public method CopyDirectory Overloaded. Copies a directory to another directory.
Public method CopyFile Overloaded. Copies a file to a new location.
Public method CreateDirectory Creates a directory.
Public method DeleteDirectory Overloaded. Deletes a directory.
Public method DeleteFile Overloaded. Deletes a file.
Public method DirectoryExists Returns a Boolean indicating whether the specified directory exists.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method FileExists Returns a Boolean indicating whether the specified file exists.
Public method FindInFiles Overloaded. Returns a read-only collection of strings representing the names of files containing the specified text.
Public method GetDirectories Overloaded. 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 Overloaded. Returns a read-only collection of strings representing the names of files within a directory.
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (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.)
Public method MoveDirectory Overloaded. Moves a directory from one location to another.
Public method MoveFile Overloaded. Moves a file to a new location.
Public method OpenTextFieldParser Overloaded. 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 Overloaded. Opens a StreamReader.
Public method OpenTextFileWriter Overloaded. Opens a StreamWriter.
Public method ReadAllBytes Returns the contents of a file as a byte array.
Public method ReadAllText Overloaded. Returns the contents of a text file as a String.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
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 Overloaded. Writes text to a file.
Top
  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.