This documentation is archived and is not being maintained.

ExchangeServiceBinding.CreateItem Method

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

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

<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("TimeZoneContext")> _
<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapDocumentMethodAttribute("", Use := SoapBindingUse.Literal,  _
	ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
Public Function CreateItem ( _
	CreateItem1 As CreateItemType _
) As CreateItemResponseType
Dim instance As ExchangeServiceBinding
Dim CreateItem1 As CreateItemType
Dim returnValue As CreateItemResponseType

returnValue = instance.CreateItem(CreateItem1)


Type: ExchangeWebServices.CreateItemType
An instance of the CreateItemType class that represents a set of items to create.

Return Value

Type: ExchangeWebServices.CreateItemResponseType
The CreateItem method returns a CreateItemResponseType object that contains the status of the CreateItem operation and in many scenarios, the identifiers of the new items.