Click or drag to resize
MimeKit

IMultipartRelatedContains(Uri) Method

Check if the IMultipartRelated contains a part matching the specified URI.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
bool Contains(
	Uri uri
)

Parameters

uri  Uri
The URI of the MIME part.

Return Value

Boolean

Field Value

Boolean
true if the specified part exists; otherwise

Field Value

Boolean
false.
Exceptions
ExceptionCondition
ArgumentNullExceptionuri is null.
ObjectDisposedException The IMultipartRelated has been disposed.
Remarks
Determines whether or not the multipart/related entity contains a part matching the specified URI.
See Also