MailKit Documentation
MailKit Documentation
API Reference
MimeKit.IO
FilteredStream Class
FilteredStream Methods
Add Method
Contains Method
Dispose Method
Flush Method
FlushAsync Method
Read Method
ReadAsync Method
Remove Method
Seek Method
SetLength Method
Write Method
WriteAsync Method
Filtered
Stream
Set
Length Method
Set the length of the stream.
Namespace:
MimeKit.IO
Assembly:
MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
Copy
public
override
void
SetLength
(
long
value
)
Parameters
value
Int64
The desired length of the stream in bytes.
Exceptions
Exception
Condition
ObjectDisposedException
The stream has been disposed.
NotSupportedException
The stream does not support setting the length.
Remarks
Setting the length of a
FilteredStream
is not supported.
See Also
Reference
FilteredStream Class
MimeKit.IO Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast