Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

MsgAttachmentCollection Class

Namespace: Rebex.Mail
Assembly: Rebex.Msg.dll

Represents a collection of Outlook .MSG attachments.

Syntax
public class MsgAttachmentCollection : ICollection<MsgAttachment>, IEnumerable<MsgAttachment>, IEnumerable
Inheritance
Object
MsgAttachmentCollection
Implements
ICollection<MsgAttachment>
IEnumerable<MsgAttachment>
IEnumerable
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

Properties

Name Description
Count

Gets the number of elements.

Item[Int32]

Gets the attachment on specified index.

Methods

Name Description
Add(Stream, String, String)

Adds an attachment to the collection.

Add(String, String)

Adds an attachment to the collection.

Clear()

Clears the collection.

Contains(MsgAttachment)

Gets a value indicating whether the specified attachment is in the collection.

CopyTo(MsgAttachment[], Int32)

Copies the entire collection to an array, starting at the specified index of the target array.

GetEnumerator()

Gets an IEnumerator<T> to iterate through the collection.

Remove(MsgAttachment)

Removes specified attachment from the collection.

RemoveAt(Int32)

Removes an attachment at specified index.

Explicit Interface Implementations

Name Description
ICollection<MsgAttachment>.Add(MsgAttachment)

Not supported method overload. Throws NotSupportedException.

ICollection<MsgAttachment>.IsReadOnly

Returns false.

IEnumerable.GetEnumerator()

Gets an IEnumerator to iterate through the collection.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies