Edit

Share via


Attachment Class

Definition

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
Inheritance
Attachment
Derived

Properties

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

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

Gets or sets the content type of the attachment.

Id

Gets the identifier of the attachment.

IsInline

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

LastModifiedTime

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

Name

Gets or sets the name of the attachment.

Size

Gets the size of the attachment.

Methods

Load()

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

Applies to