O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Searching the Marketplace with the MarketplaceSearchTask

The Marketplace search task is used to launch the built-in Marketplace app, which displays the search results for a specified search string.

The MarketplaceSearchTask class has two properties: SearchTerms and ContentType. SearchTerms is a string that contains one or more search terms. ContentType can be set to either MarketplaceContentType.Applications or MarketplaceContentType.Music. If not specified, ContentType defaults to MarketplaceContentType.Applications. The following excerpt demonstrates how to create and launch a MarketplaceSearchTask:

MarketplaceSearchTask task    = new MarketplaceSearchTask        {            ContentType = MarketplaceContentType ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required