CreateAttachment Method
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

ExchangeServiceBinding.CreateAttachment Method

The CreateAttachment method sends the request to and gets the response from a CreateAttachment operation.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

[SoapHeaderAttribute("RequestServerVersionValue")]
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapHeaderAttribute("MailboxCulture")]
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/CreateAttachment", Use = SoapBindingUse.Literal, 
	ParameterStyle = SoapParameterStyle.Bare)]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("TimeZoneContext")]
public CreateAttachmentResponseType CreateAttachment(
	CreateAttachmentType CreateAttachment1
)

Parameters

CreateAttachment1
Type: ExchangeWebServices.CreateAttachmentType
An instance of the CreateAttachmentType class that represents the attachments to associate with a parent item.

Return Value

Type: ExchangeWebServices.CreateAttachmentResponseType
The CreateAttachment method returns a CreateAttachmentType object that contains the status of the CreateAttachment operation.
Show:
© 2016 Microsoft