ExchangeServiceBinding.GetItem Method

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

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

Syntax

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

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

Parameters

Return Value

Type: ExchangeWebServices.GetItemResponseType
The GetItem method returns a GetItemResponseType object that contains the status of the GetItem operation and the set of items.