SeekableStreamLength - свойство

When overridden in a derived class, gets the length in bytes of the stream.

Definition

Пространство имён: Tessa.Platform.IO
Сборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
C#
public override long Length { get; }

Возвращаемое значение

Int64
A long value representing the length of the stream in bytes.

Исключения

NotSupportedExceptionA class derived from Stream does not support seeking and the length is unknown.
ObjectDisposedExceptionMethods were called after the stream was closed.

См. также