แก้ไข

แชร์ผ่าน


BufferedStream.Length Property

Definition

Gets the stream length in bytes.

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

Property Value

The stream length in bytes.

Exceptions

The underlying stream is null or closed.

The stream does not support seeking.

Methods were called after the stream was closed.

Applies to

See also