Поделиться через


ExchangeServiceBinding.UpdateItem Method

The UpdateItem method sends the request to and returns the response from an UpdateItem operation.

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

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/UpdateItem", Use := SoapBindingUse.Literal,  _
    ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("TimeZoneContext")> _
<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
Public Function UpdateItem ( _
    UpdateItem1 As UpdateItemType _
) As UpdateItemResponseType
'Usage
Dim instance As ExchangeServiceBinding
Dim UpdateItem1 As UpdateItemType
Dim returnValue As UpdateItemResponseType

returnValue = instance.UpdateItem(UpdateItem1)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/UpdateItem", Use = SoapBindingUse.Literal, 
    ParameterStyle = SoapParameterStyle.Bare)]
[SoapHeaderAttribute("TimeZoneContext")]
[SoapHeaderAttribute("RequestServerVersionValue")]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("MailboxCulture")]
[SoapHeaderAttribute("ExchangeImpersonation")]
public UpdateItemResponseType UpdateItem(
    UpdateItemType UpdateItem1
)

Parameters

Return Value

Type: ExchangeWebServices.UpdateItemResponseType
The UpdateItem method returns an UpdateItemResponseType object that contains the updated item identifiers.