ExchangeServiceBinding.FindItem Method

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

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

Syntax

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

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

Parameters

Return Value

Type: ExchangeWebServices.FindItemResponseType
The FindItem method returns a FindItemResponseType object that contains the query result of the FindItem operation.