Sdílet prostřednictvím


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
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/UpdateItem", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("TimeZoneContext")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction:=SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
Public Function UpdateItem ( _
    UpdateItem1 As UpdateItemType _
) As UpdateItemResponseType
[SoapHeaderAttribute("SerializedSecurityContext")] 
[SoapHeaderAttribute("RequestServerVersionValue")] 
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/UpdateItem", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare)] 
[SoapHeaderAttribute("TimeZoneContext")] 
[SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out)] 
[SoapHeaderAttribute("MailboxCulture")] 
[SoapHeaderAttribute("ExchangeImpersonation")] 
public UpdateItemResponseType UpdateItem (
    UpdateItemType UpdateItem1
)
[SoapHeaderAttribute(L"SerializedSecurityContext")] 
[SoapHeaderAttribute(L"RequestServerVersionValue")] 
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/exchange/services/2006/messages/UpdateItem", Use=SoapBindingUse::Literal, ParameterStyle=SoapParameterStyle::Bare)] 
[SoapHeaderAttribute(L"TimeZoneContext")] 
[SoapHeaderAttribute(L"ServerVersionInfoValue", Direction=SoapHeaderDirection::Out)] 
[SoapHeaderAttribute(L"MailboxCulture")] 
[SoapHeaderAttribute(L"ExchangeImpersonation")] 
public:
UpdateItemResponseType^ UpdateItem (
    UpdateItemType^ UpdateItem1
)
/** @attribute SoapHeaderAttribute("SerializedSecurityContext") */ 
/** @attribute SoapHeaderAttribute("RequestServerVersionValue") */ 
/** @attribute SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/UpdateItem", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) */ 
/** @attribute SoapHeaderAttribute("TimeZoneContext") */ 
/** @attribute SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) */ 
/** @attribute SoapHeaderAttribute("MailboxCulture") */ 
/** @attribute SoapHeaderAttribute("ExchangeImpersonation") */ 
public UpdateItemResponseType UpdateItem (
    UpdateItemType UpdateItem1
)
SoapHeaderAttribute("SerializedSecurityContext") 
SoapHeaderAttribute("RequestServerVersionValue") 
SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/UpdateItem", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) 
SoapHeaderAttribute("TimeZoneContext") 
SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) 
SoapHeaderAttribute("MailboxCulture") 
SoapHeaderAttribute("ExchangeImpersonation") 
public function UpdateItem (
    UpdateItem1 : UpdateItemType
) : UpdateItemResponseType

Parameters

  • UpdateItem1
    An instance of the UpdateItemType class that represents the updates to be performed on a set of items.

Return Value

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)