SeekableStreamSetLength - метод

When overridden in a derived class, sets the length of the current stream.

Definition

Пространство имён: Tessa.Platform.IO
Сборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
C#
public override void SetLength(
	long value
)

Параметры

value  Int64
The desired length of the current stream in bytes.

Исключения

IOExceptionAn I/O error occurs.
NotSupportedExceptionThe stream does not support both writing and seeking, such as if the stream is constructed from a pipe or console output.
ObjectDisposedExceptionMethods were called after the stream was closed.

См. также