Edit

Share via


ExchangeServiceBinding.CreateAttachment(CreateAttachmentType) Method

Definition

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

public:
 ExchangeWebServices::CreateAttachmentResponseType ^ CreateAttachment(ExchangeWebServices::CreateAttachmentType ^ CreateAttachment1);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/exchange/services/2006/messages/CreateAttachment", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare, Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("ServerVersionInfoValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("TimeZoneContext")]
[System.Web.Services.Protocols.SoapHeader("ExchangeImpersonation")]
[System.Web.Services.Protocols.SoapHeader("MailboxCulture")]
[System.Web.Services.Protocols.SoapHeader("RequestServerVersionValue")]
public ExchangeWebServices.CreateAttachmentResponseType CreateAttachment (ExchangeWebServices.CreateAttachmentType CreateAttachment1);
Public Function CreateAttachment (CreateAttachment1 As CreateAttachmentType) As CreateAttachmentResponseType

Parameters

CreateAttachment1
CreateAttachmentType

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

Returns

The CreateAttachment(CreateAttachmentType) method returns a CreateAttachmentType object that contains the status of the CreateAttachment operation.

Attributes

Applies to