Simple Mail and Post Office Protocol for .Net (SmtPop)

MimeAttachmentList.IndexOf Method 

Returns the zero-based index of the first occurrence of the specified MimeAttachment in the MimeAttachmentList.

public virtual int IndexOf(
   MimeAttachment value
);

Parameters

value
The MimeAttachment object to locate in the MimeAttachmentList. This argument can be a null reference.

Return Value

The zero-based index of the first occurrence of value in the MimeAttachmentList, if found; otherwise, -1.

Implements

IMimeAttachmentList.IndexOf

Remarks

Please refer to IndexOf for details.

See Also

MimeAttachmentList Class | SmtPop Namespace