Export (0) Print
Expand All

FileAttachment members

EWS Managed API

Represents a file attachment.

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

  Name Description
Public property Content Gets the content of the attachment in memory. Content is set only when the Load method is called.
Public property ContentId Gets or sets the content identifier of the attachment. ContentId can be used as a custom way to identify an attachment in order to reference it from within the body of the item that the attachment belongs to. (inherited from Attachment)
Public property ContentLocation Gets or sets the content location of the attachment. ContentLocation can be used to associate an attachment with a URL that defines its location on the Web. (inherited from Attachment)
Public property ContentType Gets or sets the content type of the attachment. (inherited from Attachment)
Public property FileName Gets the name of the file that the attachment is linked to.
Public property Id Gets the identifier of the attachment. (inherited from Attachment)
Public property IsContactPhoto Gets or sets a value that indicates whether the attachment is the contact's photo.
Public property IsInline Gets or sets a value that indicates whether this is an inline attachment. (inherited from Attachment)
Public property LastModifiedTime Gets the date and time when the attachment was last changed. (inherited from Attachment)
Public property Name Gets or sets the name of the attachment. (inherited from Attachment)
Public property Size Gets the size of the attachment. (inherited from Attachment)
Top

  Name Description
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetHashCode (inherited from Object)
Public method GetType (inherited from Object)
Public method Load() Loads the attachment. Calling this method results in a call to Exchange Web Services (EWS). (inherited from Attachment)
Public method Load(Stream) Loads the content of the file attachment into the specified stream. Calling this method results in a call to Exchange Web Services (EWS).
Public method Load(String) Loads the content of the file attachment into the specified file. Calling this method results in a call to Exchange Web Services (EWS).
Protected method MemberwiseClone (inherited from Object)
Public method ToString (inherited from Object)
Top
Show:
© 2014 Microsoft