C# Class System.IO.InTheHandRuntimeStorageExtensions

Contains extension methods for the IStorageFile and IStorageFolder interfaces for .NET interop.
Afficher le fichier Open project: inthehand/Charming

Méthodes publiques

Méthode Description
OpenStreamForReadAsync ( this windowsRuntimeFile ) : Task

Retrieves a stream for reading from a specified file.

OpenStreamForReadAsync ( this rootDirectory, string relativePath ) : Task

Retrieves a stream for reading from a file in the specified parent folder.

OpenStreamForWriteAsync ( this windowsRuntimeFile ) : Task

Retrieves a stream for writing to a specified file.

OpenStreamForWriteAsync ( this rootDirectory, string relativePath, CreationCollisionOption creationCollisionOption ) : Task

Retrieves a stream for writing from a file in the specified parent folder.

Method Details

OpenStreamForReadAsync() public static méthode

Retrieves a stream for reading from a specified file.
public static OpenStreamForReadAsync ( this windowsRuntimeFile ) : Task
windowsRuntimeFile this
Résultat Task

OpenStreamForReadAsync() public static méthode

Retrieves a stream for reading from a file in the specified parent folder.
public static OpenStreamForReadAsync ( this rootDirectory, string relativePath ) : Task
rootDirectory this The Windows Runtime IStorageFolder object that contains the file to read from.
relativePath string The path, relative to the root folder, to the file to read from.
Résultat Task

OpenStreamForWriteAsync() public static méthode

Retrieves a stream for writing to a specified file.
public static OpenStreamForWriteAsync ( this windowsRuntimeFile ) : Task
windowsRuntimeFile this The Windows Runtime IStorageFile object to write to.
Résultat Task

OpenStreamForWriteAsync() public static méthode

Retrieves a stream for writing from a file in the specified parent folder.
public static OpenStreamForWriteAsync ( this rootDirectory, string relativePath, CreationCollisionOption creationCollisionOption ) : Task
rootDirectory this The Windows Runtime IStorageFolder object that contains the file to write to.
relativePath string The path, relative to the root folder, to the file to write to.
creationCollisionOption CreationCollisionOption
Résultat Task