FileAttachment FileAttachment FileAttachment Class

Definition

Represents a file attachment.

public ref class FileAttachment sealed : Microsoft::Exchange::WebServices::Data::Attachment
public sealed class FileAttachment : Microsoft.Exchange.WebServices.Data.Attachment
Public NotInheritable Class FileAttachment
Inherits Attachment
Inheritance

Properties

Content Content Content

Gets the content of the attachment in memory. Content is set only when the Load method is called.

ContentId ContentId 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)
ContentLocation ContentLocation 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)
ContentType ContentType ContentType

Gets or sets the content type of the attachment.

(Inherited from Attachment)
FileName FileName FileName

Gets the name of the file that the attachment is linked to.

Id Id Id

Gets the identifier of the attachment.

(Inherited from Attachment)
IsContactPhoto IsContactPhoto IsContactPhoto

Gets or sets a value that indicates whether the attachment is the contact's photo.

IsInline IsInline IsInline

Gets or sets a value that indicates whether this is an inline attachment.

(Inherited from Attachment)
LastModifiedTime LastModifiedTime LastModifiedTime

Gets the date and time when the attachment was last changed.

(Inherited from Attachment)
Name Name Name

Gets or sets the name of the attachment.

(Inherited from Attachment)
Size Size Size

Gets the size of the attachment.

(Inherited from Attachment)

Methods

Load() Load() Load()

Loads the attachment. Calling this method results in a call to Exchange Web Services (EWS).

(Inherited from Attachment)
Load(Stream) Load(Stream) 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).

Load(String) Load(String) 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).

Applies to