Edit

Share via


ItemAttachment<TItem> Class

Definition

Represents a strongly typed item attachment.

generic <typename TItem>
 where TItem : Itempublic ref class ItemAttachment sealed : Microsoft::Exchange::WebServices::Data::ItemAttachment
public sealed class ItemAttachment<TItem> : Microsoft.Exchange.WebServices.Data.ItemAttachment where TItem : Item
Public NotInheritable Class ItemAttachment(Of TItem)
Inherits ItemAttachment

Type Parameters

TItem

The item type.

Inheritance

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.

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

Gets or sets the content type of the attachment.

(Inherited from Attachment)
Id

Gets the identifier of the attachment.

(Inherited from Attachment)
IsInline

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

(Inherited from Attachment)
Item

Gets the item that is associated with the attachment.

LastModifiedTime

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

(Inherited from Attachment)
Name

Gets or sets the name of the attachment.

(Inherited from Attachment)
Size

Gets the size of the attachment.

(Inherited from Attachment)

Methods

Load()

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

(Inherited from Attachment)
Load(BodyType, IEnumerable<PropertyDefinitionBase>)

Loads the attachment.

(Inherited from ItemAttachment)
Load(BodyType, PropertyDefinitionBase[])

Loads the attachment.

(Inherited from ItemAttachment)
Load(IEnumerable<PropertyDefinitionBase>)

Loads the attachment.

(Inherited from ItemAttachment)
Load(PropertyDefinitionBase[])

Loads the attachment.

(Inherited from ItemAttachment)

Applies to