Attachment Attachment Attachment Class


Represents an attachment to an item.

public ref class Attachment abstract : Microsoft::Exchange::WebServices::Data::ComplexProperty
public abstract class Attachment : Microsoft.Exchange.WebServices.Data.ComplexProperty
Public MustInherit Class Attachment
Inherits ComplexProperty


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.

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.

ContentType ContentType ContentType

Gets or sets the content type of the attachment.

Id Id Id

Gets the identifier of the attachment.

IsInline IsInline IsInline

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

LastModifiedTime LastModifiedTime LastModifiedTime

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

Name Name Name

Gets or sets the name of the attachment.

Size Size Size

Gets the size of the attachment.


Load() Load() Load()

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

Applies to