Edit

Share via


AttachmentCollection.AddItemAttachment<TItem> Method

Definition

Adds an item attachment to the collection.

public:
generic <typename TItem>
 where TItem : Microsoft::Exchange::WebServices::Data::Item Microsoft::Exchange::WebServices::Data::ItemAttachment<TItem> ^ AddItemAttachment();
public Microsoft.Exchange.WebServices.Data.ItemAttachment<TItem> AddItemAttachment<TItem> () where TItem : Microsoft.Exchange.WebServices.Data.Item;
Public Function AddItemAttachment(Of TItem As Item) () As ItemAttachment(Of TItem)

Type Parameters

TItem

The type of the item to be attached to the collection.

Returns

An item attachment.

Applies to