語言

BufferedStream.Length 屬性

定義

會得到以位元組為單位的串流長度。

public:
 virtual property long Length { long get(); };
public override long Length { get; }
member this.Length : int64
Public Overrides ReadOnly Property Length As Long

屬性值

串流長度以位元組為單位。

例外狀況

底層的串流是 null 或封閉的。

該流不支援尋球。

方法在溪流關閉後才被呼叫。

適用於

另請參閱