Click or drag to resize
Cimbalino ToolkitIStorageServiceHandler Methods

The IStorageServiceHandler type exposes the following members.

Methods
  NameDescription
Public methodAppendAllLines(String, IEnumerableString)
Appends lines to a file, and then closes the file.
Public methodAppendAllLines(String, IEnumerableString, Encoding)
Appends lines to a file by using a specified encoding, and then closes the file.
Public methodAppendAllText(String, String)
Opens a file, appends the specified string to the file, and then closes the file. If the file does not exist, this method creates a file, writes the specified string to the file, then closes the file.
Public methodAppendAllText(String, String, Encoding)
Appends the specified string to the file, creating the file if it does not already exist.
Public methodBuildFileUri
Builds a Uri given a relative path to a file in the store.
Public methodCopyFileAsync(String, String)
Copies an existing file to a new file.
Public methodCopyFileAsync(String, String, Boolean)
Copies an existing file to a new file, and optionally overwrites an existing file.
Public methodCreateDirectoryAsync
Creates a directory in the storage scope.
Public methodCreateFileAsync
Creates a file in the store.
Public methodDeleteDirectoryAsync
Deletes a directory in the storage scope.
Public methodDeleteFileAsync
Deletes the specified file.
Public methodDirectoryExistsAsync
Determines whether the specified path refers to an existing directory in the store.
Public methodFileExistsAsync
Determines whether the specified path refers to an existing file in the store.
Public methodGetDirectoryNamesAsync
Enumerates the directories in the root of a store.
Public methodGetDirectoryNamesAsync(String)
Enumerates directories in a storage scope that match a given pattern.
Public methodGetFileNamesAsync
Obtains the names of files in the root of a store.
Public methodGetFileNamesAsync(String)
Enumerates files in storage scope that match a given pattern.
Public methodMoveFileAsync(String, String)
Moves an existing file to a new file.
Public methodMoveFileAsync(String, String, Boolean)
Moves an existing file to a new file, and optionally overwrites an existing file.
Public methodOpenFileForReadAsync
Opens a file in the specified mode.
Public methodReadAllBytesAsync
Opens a binary file, reads the contents of the file into a byte array, and then closes the file. Returns null, if an exception is raised.
Public methodReadAllLinesAsync(String)
Opens a text file, reads all lines of the file, and then closes the file.
Public methodReadAllLinesAsync(String, Encoding)
Opens a file, reads all lines of the file with the specified encoding, and then closes the file.
Public methodReadAllTextAsync(String)
Opens a text file, reads all lines of the file, and then closes the file.
Public methodReadAllTextAsync(String, Encoding)
Opens a file, reads all lines of the file with the specified encoding, and then closes the file.
Public methodWriteAllBytesAsync
Creates a new file, writes the specified byte array to the file, and then closes the file. If the target file already exists, it is overwritten.
Public methodWriteAllLinesAsync(String, IEnumerableString)
Creates a new file, writes a collection of strings to the file, and then closes the file.
Public methodWriteAllLinesAsync(String, IEnumerableString, Encoding)
Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file.
Public methodWriteAllTextAsync(String, String)
Creates a new file, writes the specified string to the file, and then closes the file. If the target file already exists, it is overwritten.
Public methodWriteAllTextAsync(String, String, Encoding)
Creates a new file, writes the specified string to the file using the specified encoding, and then closes the file. If the target file already exists, it is overwritten.
Top
See Also