In The Hand - .NET Components for Mobility
AttachmentCollection Class
NamespacesInTheHand.WindowsMobile.PocketOutlookAttachmentCollection
The attachments collection for email messages.
Declaration Syntax
C#Visual Basic
public sealed class AttachmentCollection : CollectionBase, IList, 
	ICollection, IEnumerable, IDisposable
Public NotInheritable Class AttachmentCollection _
	Inherits CollectionBase _
	Implements IList, ICollection, IEnumerable, IDisposable
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
AttachmentCollection()()()
Creates a new instance of AttachmentCollection.

Add(Attachment)
Adds the specified atachment to the collection.

Capacity
Gets or sets the number of elements that the CollectionBase can contain.
(Inherited from CollectionBase.)
Clear()()()
Removes all objects from the CollectionBase instance.
(Inherited from CollectionBase.)
Contains(Attachment)
Returns true if the attachment is contained in the collection.

Contains(Object)
Checks if the attachment is contained in the collection.

CopyTo(array<Attachment>[]()[], Int32)
Will copy the collection of attachments to an array.

CopyTo(Array, Int32)
Will copy the collection of attachments to an array.

Count
Gets the number of elements contained in the CollectionBase instance.
(Inherited from CollectionBase.)
Dispose()()()

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetEnumerator()()()
Returns an enumerator that iterates through the CollectionBase instance.
(Inherited from CollectionBase.)
GetHashCode()()()
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
IndexOf(Attachment)
Returns the index of a given attachment.

IndexOf(Object)
Returns the index of the specified attachment.

InnerList
Gets an ArrayList containing the list of elements in the CollectionBase instance.
(Inherited from CollectionBase.)
Insert(Int32, Attachment)
Inserts an attachment at a given index in the attachment collection.

Insert(Int32, Object)
Inserts an attachment at a given index in the attachment collection.

Item[([(Int32])])
Gets or sets the attachment at a given index.

List
Gets an IList containing the list of elements in the CollectionBase instance.
(Inherited from CollectionBase.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnClear()()()
Performs additional custom processes when clearing the contents of the CollectionBase instance.
(Inherited from CollectionBase.)
OnClearComplete()()()
Performs additional custom processes after clearing the contents of the CollectionBase instance.
(Inherited from CollectionBase.)
OnInsert(Int32, Object)
Performs additional custom processes before inserting a new element into the CollectionBase instance.
(Inherited from CollectionBase.)
OnInsertComplete(Int32, Object)
Performs additional custom processes after inserting a new element into the CollectionBase instance.
(Inherited from CollectionBase.)
OnRemove(Int32, Object)
Performs additional custom processes when removing an element from the CollectionBase instance.
(Inherited from CollectionBase.)
OnRemoveComplete(Int32, Object)
Performs additional custom processes after removing an element from the CollectionBase instance.
(Inherited from CollectionBase.)
OnSet(Int32, Object, Object)
Performs additional custom processes before setting a value in the CollectionBase instance.
(Inherited from CollectionBase.)
OnSetComplete(Int32, Object, Object)
Performs additional custom processes after setting a value in the CollectionBase instance.
(Inherited from CollectionBase.)
OnValidate(Object)
Performs additional custom processes when validating a value.
(Inherited from CollectionBase.)
Remove(Attachment)
Finds and removes the specified attachment from the collection.

RemoveAt(Int32)
Removes the element at the specified index of the CollectionBase instance.
(Inherited from CollectionBase.)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
CollectionBase
 AttachmentCollection

Assembly: InTheHand.WindowsMobile (Module: InTheHand.WindowsMobile) Version: 3.2.0.0