This documentation is archived and is not being maintained.

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)

'Declaration
<SoapHeaderAttribute("TimeZoneContext")> _
<SoapDocumentMethodAttribute("http://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)

Parameters

GetItem1
Type: ExchangeWebServices.GetItemType
An instance of the GetItemType class that represents the set of items to get.

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.
Show: