Click or drag to resize
MimeKit

MultipartRelatedContains(Uri) Method

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

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

Parameters

uri  Uri
The URI of the MIME part.

Return Value

Boolean
if the specified part exists; otherwise, .

Implements

IMultipartRelatedContains(Uri)
Exceptions
ExceptionCondition
ArgumentNullExceptionuri is .
ObjectDisposedException The MultipartRelated has been disposed.
Remarks
Determines whether the multipart/related entity contains a part matching the specified URI.
See Also