IMultipartRelatedOpen(Uri) Method

Open a stream for reading the decoded content of the MIME part specified by the provided URI.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
Stream Open(
	Uri uri
)

Parameters

uri  Uri
The URI.

Return Value

Stream
A stream for reading the decoded content of the MIME part specified by the provided URI.

Remarks

Opens a stream for reading the decoded content of the MIME part specified by the provided URI.

Exceptions

ArgumentNullException uri is .
FileNotFoundException The MIME part for the specified URI could not be found.
ObjectDisposedException The IMultipartRelated has been disposed.

See Also