語言

WriteOnlyStream 類別

定義

警告

The WriteOnlyStream is obsolete and will be removed in a future release.

, Stream 只允許寫入。

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
繼承
WriteOnlyStream
衍生
屬性

建構函式

名稱 Description
WriteOnlyStream()
已淘汰.

, Stream 只允許寫入。

屬性

名稱 Description
CanRead
已淘汰.

, Stream 只允許寫入。

CanSeek
已淘汰.

, Stream 只允許寫入。

CanWrite
已淘汰.

, Stream 只允許寫入。

Length
已淘汰.

, Stream 只允許寫入。

Position
已淘汰.

, Stream 只允許寫入。

ReadTimeout
已淘汰.

, Stream 只允許寫入。

方法

名稱 Description
Read(Byte[], Int32, Int32)
已淘汰.

, Stream 只允許寫入。

ReadAsync(Byte[], Int32, Int32, CancellationToken)
已淘汰.

, Stream 只允許寫入。

ReadAsync(Memory<Byte>, CancellationToken)
已淘汰.

, Stream 只允許寫入。

Seek(Int64, SeekOrigin)
已淘汰.

, Stream 只允許寫入。

SetLength(Int64)
已淘汰.

, Stream 只允許寫入。

適用於