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

IMimeAttachmentEnumerator.Current Property

Gets the current MimeAttachment element in the collection.

MimeAttachment Current {get;}

Property Value

The current MimeAttachment element in the collection.

Remarks

Please refer to Current for details, but note that Current fails if the collection was modified since the last successful call to MoveNext or Reset.

Exceptions

Exception Type Condition
InvalidOperationException

The enumerator is positioned before the first element of the collection or after the last element.

-or-

The collection was modified after the enumerator was created.

See Also

IMimeAttachmentEnumerator Interface | SmtPop Namespace