AttachmentCollection Members
Include Protected Members
Include Inherited 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. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetEnumerator | The GetEnumerator method returns an enumerator object that can be used to iterate through the collection. |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
Remove | The Remove method removes an element from the collection based on the Attachment object specified by the attachment parameter. |
![]() |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() |
IEnumerable<Attachment>.GetEnumerator | |
![]() ![]() |
IEnumerable.GetEnumerator |
Top