Chained StreamSet Length Method
Set the length of the stream.
Definition
Namespace: MimeKit.IO
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public override void SetLength(
long value
)Parameters
- value Int64
- The desired length of the stream in bytes.
Remarks
Setting the length of a ChainedStream is not supported.
Exceptions
| ObjectDisposedException | The stream has been disposed. |
| NotSupportedException | The stream does not support setting the length. |