Свойство | Type | Description | |
---|---|---|---|
WinRTFileStream | Microsoft.Win32.SafeHandles |
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éthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Méthode | Description | |
---|---|---|
WinRTFileStream ( Stream innerStream, StorageFile file, FileAccess access, FileOptions options, FileStream parent ) : Microsoft.Win32.SafeHandles |
public CopyToAsync ( Stream destination, int bufferSize, CancellationToken cancellationToken ) : Task | ||
destination | Stream | |
bufferSize | int | |
cancellationToken | CancellationToken | |
Résultat | Task |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Résultat | void |
public FlushAsync ( CancellationToken cancellationToken ) : Task | ||
cancellationToken | CancellationToken | |
Résultat | Task |
public Lock ( long position, long length ) : void | ||
position | long | |
length | long | |
Résultat | void |
public Read ( byte buffer, int offset, int count ) : int | ||
buffer | byte | |
offset | int | |
count | int | |
Résultat | int |
public ReadAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task |
||
buffer | byte | |
offset | int | |
count | int | |
cancellationToken | CancellationToken | |
Résultat | Task |
public Seek ( long offset, SeekOrigin origin ) : long | ||
offset | long | |
origin | SeekOrigin | |
Résultat | long |
public Unlock ( long position, long length ) : void | ||
position | long | |
length | long | |
Résultat | void |
public Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | |
offset | int | |
count | int | |
Résultat | void |
public WriteAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task | ||
buffer | byte | |
offset | int | |
count | int | |
cancellationToken | CancellationToken | |
Résultat | Task |