C# 클래스 System.IO.InTheHandRuntimeStorageExtensions

Contains extension methods for the IStorageFile and IStorageFolder interfaces for .NET interop.
파일 보기 프로젝트 열기: inthehand/Charming

공개 메소드들

메소드 설명
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