C# 클래스 System.IO.WinRTFileStream

상속: System.IO.FileStreamBase
파일 보기 프로젝트 열기: dotnet/corefx

Private Properties

프로퍼티 타입 설명
WinRTFileStream Microsoft.Win32.SafeHandles

공개 메소드들

메소드 설명
CopyToAsync ( Stream destination, int bufferSize, CancellationToken cancellationToken ) : Task
Flush ( ) : void
Flush ( bool flushToDisk ) : void
FlushAsync ( CancellationToken cancellationToken ) : Task
Lock ( long position, long length ) : void
Read ( byte buffer, int offset, int count ) : int
ReadAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
ReadByte ( ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
ToString ( ) : string
Unlock ( long position, long length ) : void
Write ( byte buffer, int offset, int count ) : void
WriteAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
WriteByte ( byte value ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
WinRTFileStream ( Stream innerStream, StorageFile file, FileAccess access, FileOptions options, FileStream parent ) : Microsoft.Win32.SafeHandles

메소드 상세

CopyToAsync() 공개 메소드

public CopyToAsync ( Stream destination, int bufferSize, CancellationToken cancellationToken ) : Task
destination Stream
bufferSize int
cancellationToken CancellationToken
리턴 Task

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

Flush() 공개 메소드

public Flush ( bool flushToDisk ) : void
flushToDisk bool
리턴 void

FlushAsync() 공개 메소드

public FlushAsync ( CancellationToken cancellationToken ) : Task
cancellationToken CancellationToken
리턴 Task

Lock() 공개 메소드

public Lock ( long position, long length ) : void
position long
length long
리턴 void

Read() 공개 메소드

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
리턴 int

ReadAsync() 공개 메소드

public ReadAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken CancellationToken
리턴 Task

ReadByte() 공개 메소드

public ReadByte ( ) : int
리턴 int

Seek() 공개 메소드

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
리턴 long

SetLength() 공개 메소드

public SetLength ( long value ) : void
value long
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

Unlock() 공개 메소드

public Unlock ( long position, long length ) : void
position long
length long
리턴 void

Write() 공개 메소드

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
리턴 void

WriteAsync() 공개 메소드

public WriteAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken CancellationToken
리턴 Task

WriteByte() 공개 메소드

public WriteByte ( byte value ) : void
value byte
리턴 void