C# Класс System.IO.InTheHandRuntimeStorageExtensions

Contains extension methods for the IStorageFile and IStorageFolder interfaces for .NET interop.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

OpenStreamForReadAsync() публичный статический Метод

Retrieves a stream for reading from a specified file.
public static OpenStreamForReadAsync ( this windowsRuntimeFile ) : Task
windowsRuntimeFile this
Результат Task

OpenStreamForReadAsync() публичный статический Метод

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.
Результат Task

OpenStreamForWriteAsync() публичный статический Метод

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.
Результат Task

OpenStreamForWriteAsync() публичный статический Метод

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
Результат Task