MailKit Documentation
MailKit Documentation
API Reference
MimeKit.IO
ChainedStream Class
ChainedStream Methods
Add Method
Dispose Method
Flush Method
FlushAsync Method
Read Method
ReadAsync Method
Seek Method
SetLength Method
Write Method
WriteAsync Method
Chained
Stream
Add Method
Add a stream to the chained stream.
Namespace:
MimeKit.IO
Assembly:
MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
Copy
public
void
Add
(
Stream
stream
,
bool
leaveOpen
=
false
)
Parameters
stream
Stream
The stream.
leaveOpen
Boolean
(Optional)
true
if the
stream
should remain open after the
ChainedStream
is disposed; otherwise,
false
.
Exceptions
Exception
Condition
ArgumentNullException
stream
is
null
.
Remarks
Adds the stream to the end of the chain.
See Also
Reference
ChainedStream Class
MimeKit.IO Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast