WriteOnlyStream Třída
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Upozornění
The WriteOnlyStream is obsolete and will be removed in a future release.
A Stream , která umožňuje jenom zápisy.
public ref class WriteOnlyStream abstract : System::IO::Stream
public abstract class WriteOnlyStream : System.IO.Stream
[System.Obsolete("The WriteOnlyStream is obsolete and will be removed in a future release.")]
public abstract class WriteOnlyStream : System.IO.Stream
type WriteOnlyStream = class
inherit Stream
[<System.Obsolete("The WriteOnlyStream is obsolete and will be removed in a future release.")>]
type WriteOnlyStream = class
inherit Stream
Public MustInherit Class WriteOnlyStream
Inherits Stream
- Dědičnost
-
WriteOnlyStream
- Odvozené
- Atributy
Konstruktory
| WriteOnlyStream() |
Vlastnosti
| CanRead | When overridden in a derived class, gets a value indicating whether the current stream supports reading. |
| CanSeek | When overridden in a derived class, gets a value indicating whether the current stream supports seeking. |
| CanWrite | When overridden in a derived class, gets a value indicating whether the current stream supports writing. |
| Length | When overridden in a derived class, gets the length in bytes of the stream. |
| Position | When overridden in a derived class, gets or sets the position within the current stream. |
| ReadTimeout | Gets or sets a value, in milliseconds, that determines how long the stream will attempt to read before timing out. |
Metody
| Read(Byte[], Int32, Int32) | When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. |
| ReadAsync(Byte[], Int32, Int32, CancellationToken) | Asynchronously reads a sequence of bytes from the current stream, advances the position within the stream by the number of bytes read, and monitors cancellation requests. |
| ReadAsync(Memory<Byte>, CancellationToken) | Asynchronously reads a sequence of bytes from the current stream, advances the position within the stream by the number of bytes read, and monitors cancellation requests. |
| Seek(Int64, SeekOrigin) | When overridden in a derived class, sets the position within the current stream. |
| SetLength(Int64) | When overridden in a derived class, sets the length of the current stream. |