AttachmentCollection members
The AttachmentCollection class represents a collection of Attachment objects.
The AttachmentCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | The Count property gets the number of elements that are contained in the collection. | |
Item | The Item property gets or sets the element in the specified index in the collection. |
Top
Methods
Name | Description | |
---|---|---|
Add() | The Add method adds a new Attachment object to the collection. | |
Add(String) | The Add method adds a new Attachment object to the collection by using the file name specified by the fileName parameter. | |
Add(String, String) | The Add method adds a new Attachment object to the collection by using the file name specified by the fileName parameter and the content type specified by the contentType parameter. | |
Clear | The Clear method removes all elements from the collection. | |
GetEnumerator | The GetEnumerator method returns an enumerator object that can be used to iterate through the collection. | |
Remove | The Remove method removes an element from the collection based on the Attachment object specified by the attachment parameter. |
Top