Click or drag to resize
Cimbalino ToolkitStorageServiceHandler Methods

The StorageServiceHandler 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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFileExistsAsync
Determines whether the specified path refers to an existing file in the store.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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
Extension Methods
  NameDescription
Public Extension MethodAddEventHandler
Adds an event handler to an event source.
(Defined by ObjectExtensions.)
Public Extension MethodGetPropertyValue(String)Overloaded.
Searches for the public property with the specified name and gets its value.
(Defined by ObjectExtensions.)
Public Extension MethodGetPropertyValueTObject(String)Overloaded.
Searches for the public property with the specified name and gets its value.
(Defined by ObjectExtensions.)
Public Extension MethodInvokeMethod(String, Object)Overloaded.
Searches for the public method with the specified name and invokes it using the specified parameters.
(Defined by ObjectExtensions.)
Public Extension MethodInvokeMethodTObject(String, Object)Overloaded.
Searches for the public method with the specified name and invokes it using the specified parameters, returning the result.
(Defined by ObjectExtensions.)
Public Extension MethodRemoveEventHandler
Removes an event handler from an event source.
(Defined by ObjectExtensions.)
Public Extension MethodSetPropertyValueTObject
Searches for the public property with the specified name and sets its value.
(Defined by ObjectExtensions.)
Top
See Also