Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CreateAttachment Method
Collapse the table of content
Expand the table of content

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)

'Declaration
<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 Function CreateAttachment ( _
	CreateAttachment1 As CreateAttachmentType _
) As CreateAttachmentResponseType
'Usage
Dim instance As ExchangeServiceBinding
Dim CreateAttachment1 As CreateAttachmentType
Dim returnValue As CreateAttachmentResponseType

returnValue = instance.CreateAttachment(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:
© 2015 Microsoft