| AttachmentCollectionIndexOf Method |
Get the index of the requested attachment, if it exists.
Namespace: MimeKitAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax public int IndexOf(
MimeEntity attachment
)
Parameters
- attachment MimeEntity
- The attachment.
Return Value
Int32The index of the requested attachment; otherwise
Field Value
Int32-1.
Implements
IListTIndexOf(T)Exceptions Remarks
Finds the index of the specified attachment, if it exists.
See Also