C# Class System.IO.WinRTFileStream

Inheritance: System.IO.FileStreamBase
Afficher le fichier Open project: dotnet/corefx

Private Properties

Свойство Type Description
WinRTFileStream Microsoft.Win32.SafeHandles

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
WinRTFileStream ( Stream innerStream, StorageFile file, FileAccess access, FileOptions options, FileStream parent ) : Microsoft.Win32.SafeHandles

Method Details

CopyToAsync() public méthode

public CopyToAsync ( Stream destination, int bufferSize, CancellationToken cancellationToken ) : Task
destination Stream
bufferSize int
cancellationToken CancellationToken
Résultat Task

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

Flush() public méthode

public Flush ( bool flushToDisk ) : void
flushToDisk bool
Résultat void

FlushAsync() public méthode

public FlushAsync ( CancellationToken cancellationToken ) : Task
cancellationToken CancellationToken
Résultat Task

Lock() public méthode

public Lock ( long position, long length ) : void
position long
length long
Résultat void

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

ReadAsync() public méthode

public ReadAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken CancellationToken
Résultat Task

ReadByte() public méthode

public ReadByte ( ) : int
Résultat int

Seek() public méthode

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public méthode

public SetLength ( long value ) : void
value long
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

Unlock() public méthode

public Unlock ( long position, long length ) : void
position long
length long
Résultat void

Write() public méthode

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void

WriteAsync() public méthode

public WriteAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken CancellationToken
Résultat Task

WriteByte() public méthode

public WriteByte ( byte value ) : void
value byte
Résultat void