How to perform web search in Windows Phone using C# ?

You can use the “Search Task” Launcher to launch the web serach App and perform search of the keyword .

How to perform web search in Windows Phone using C# ?

To perform web search in Windows Phone in C# , follow the below steps

1. Add the Namespace “Microsoft.Phone.Tasks” .

2. Create an instance of the SearchTask and assign the search text to the SearchQuery property of the SearchTask object and call the Show method of the SearchTask . For example , we can assign “senthil kumar windows phone” as the text to be searched

SearchTask SearchWeb = new SearchTask();

SearchWeb.SearchQuery = "senthil kumar windows phone";

SearchWeb.Show();

 

 

 

Leave a Reply