Click or drag to resize

StreamSetLength Method

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

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public abstract void SetLength(
	long value
)

Parameters

value  Int64
The desired length of the current stream in bytes.
Exceptions
ExceptionCondition
ObjectDisposedException Methods were called after the stream was closed.
NotSupportedExceptionThe stream does not support seeking, such as if the stream is constructed

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also