PhoneDataSharingContext.ExecuteRequest<T> Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Performs a search for objects in a data context.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Type Parameters
- T
The type of object requested.
Parameters
- query
- Type: System.String
The search to perform.
Return Value
Type: System.Collections.Generic.IEnumerable<T>The results of the search if possible; otherwise, null.
The ExecuteRequest<T> method is used to search for Contact objects by the SearchAsync method, and for Appointment objects by the SearchAsync method.
Show: