MailKit Documentation
MailKit Documentation
API Reference
MimeKit
MultipartRelated Class
MultipartRelated Methods
Contains Method
Contains(Uri) Method
Multipart
Related
Contains(Uri) Method
Check if the
MultipartRelated
contains a part matching the specified URI.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
Copy
public
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.
Implements
IMultipartRelated
Contains(Uri)
Exceptions
Exception
Condition
ArgumentNullException
uri
is
null
.
ObjectDisposedException
The
MultipartRelated
has been disposed.
Remarks
Determines whether or not the multipart/related entity contains a part matching the specified URI.
See Also
Reference
MultipartRelated Class
Contains Overload
MimeKit Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast