Share via


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

Parameters

  • FindItem1
    An instance of the FindItemType class that represents the query that is used to search for items.

Return Value

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

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)