IMultipart RelatedContains(Uri) Method
Check if the IMultipartRelated contains a part matching the specified URI.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
if the specified part exists; otherwise, .
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
bool Contains(
Uri uri
)Parameters
- uri Uri
- The URI of the MIME part.
Return Value
Booleanif the specified part exists; otherwise, .
Remarks
Determines whether the multipart/related entity contains a part matching the specified URI.
Exceptions
| ArgumentNullException | uri is . |
| ObjectDisposedException | The IMultipartRelated has been disposed. |