Click or drag to resize
MimeKit

ChainedStreamSetLength Method

Set the length of the stream.

Namespace: MimeKit.IO
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public override void SetLength(
	long value
)

Parameters

value  Int64
The desired length of the stream in bytes.
Exceptions
ExceptionCondition
ObjectDisposedException The stream has been disposed.
NotSupportedException The stream does not support setting the length.
Remarks
Setting the length of a ChainedStream is not supported.
See Also