共用方式為


AttachmentCollection Members

3/29/2010

attachments collection for email or mms messages

The following tables list the members exposed by the AttachmentCollection type.

Public Constructors

  Name Description
AttachmentCollection Initializes a new instance of the AttachmentCollection Class.

Top

Public Properties

  Name Description
ms886514.pubproperty(en-us,MSDN.10).gif Count Gets the number of attachments in the attachment collection.
ms886514.pubproperty(en-us,MSDN.10).gif IsFixedSize Returns whether the list has a fixed size or not.
ms886514.pubproperty(en-us,MSDN.10).gif IsReadOnly Gets a value indicating whether the List is read-only or not.
ms886514.pubproperty(en-us,MSDN.10).gif IsSynchronized Will return false. This is not a synchronized collection.
ms886514.pubproperty(en-us,MSDN.10).gif Item Gets or sets the attachment at a given index.
ms886514.pubproperty(en-us,MSDN.10).gif SyncRoot Gets the object that can be used to synchronize access to the collection when IsSynchronized is true. Since this is not a synchronized collection, it will return null.

Top

Public Methods

(see also Protected Methods )

  Name Description
ms886514.pubmethod(en-us,MSDN.10).gif Add Adds the specified attachment to the collection.
ms886514.pubmethod(en-us,MSDN.10).gif Clear Clears the attachment collection.
ms886514.pubmethod(en-us,MSDN.10).gif Contains Overloaded.  
ms886514.pubmethod(en-us,MSDN.10).gif CopyTo Overloaded.  
ms886514.pubmethod(en-us,MSDN.10).gif Equals  Overloaded. (inherited from Object )
ms886514.pubmethod(en-us,MSDN.10).gif GetEnumerator Returns an enumerator that can iterate through a collection.
ms886514.pubmethod(en-us,MSDN.10).gif GetHashCode  (inherited from Object )
ms886514.pubmethod(en-us,MSDN.10).gif GetType  (inherited from Object )
ms886514.pubmethod(en-us,MSDN.10).gif IndexOf Overloaded.  
ms886514.pubmethod(en-us,MSDN.10).gif Insert Overloaded.  
ms886514.pubmethod(en-us,MSDN.10).gif ms886514.static(en-us,MSDN.10).gif ReferenceEquals  (inherited from Object )
ms886514.pubmethod(en-us,MSDN.10).gif Remove  
ms886514.pubmethod(en-us,MSDN.10).gif RemoveAt Removes the attachment at the given index on the attachment collection.
ms886514.pubmethod(en-us,MSDN.10).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms886514.protmethod(en-us,MSDN.10).gif Finalize  (inherited from Object )
ms886514.protmethod(en-us,MSDN.10).gif MemberwiseClone  (inherited from Object )

Top

Explicit Interface Implementations

  Name Description
System.Collections.IEnumerable.GetEnumerator  
System.Collections.IList.Add  
System.Collections.IList.Remove  
System.Collections.IList.Item  

Top

See Also

Reference

AttachmentCollection Class
Microsoft.WindowsMobile.PocketOutlook Namespace