Exchange Web Services .NET Class Library
Exchange Web Services .NET Class Library
Exchange Web Services .NET
Independentsoft.Exchange
Service Class
Service Methods
CreateAttachment Method
CreateAttachment Method (Attachment, ItemId)
CreateAttachment Method (Attachment, String)
CreateAttachment Method (IList(Attachment), ItemId)
CreateAttachment Method (IList(Attachment), String)

# Service CreateAttachment Method (IList Attachment , String)

Creates attachments and attaches them to the specified item.

Namespace: Independentsoft.Exchange
Assembly: Independentsoft.Exchange (in Independentsoft.Exchange.dll) Version: 3.0.840.11238
Syntax
C#
VB
Copy

    public IList<CreateAttachmentResponse> CreateAttachment(
    	IList<Attachment> attachments,
    	string itemId
    )

    Public Function CreateAttachment (
    	attachments As IList(Of Attachment),
    	itemId As String
    ) As IList(Of CreateAttachmentResponse)

#### Parameters

attachments
  Type: System.Collections.Generic
  IList
  Attachment
  The attachments to create.
itemId
  Type: System
  String
  The parent item to attach attachments to.

#### Return Value

Type: IList
CreateAttachmentResponse
A collection of the identifiers of the parent item.
See Also

#### Reference

Service Class
CreateAttachment Overload
Independentsoft.Exchange Namespace

Copyright 2025 Independentsoft

Send comments on this topic to support@independentsoft.de