Silverlight SDK for Microsoft Bing
Microsoft.Bing Namespace
OverviewMicrosoft.Bing
The Microsoft.Bing namespace contains all the core data and service level primitives which make up the Microsoft Bing Silverlight data framework. This includes important interfaces such as Microsoft.Bing.ISearchEngine and Microsoft.Bing.ISearchStorage, as well as the singleton implementation called Microsoft.Bing.SearchEnvironment, which drives the search process and serves results and variety of bindable properties to Silverlight user interfaces.
Declaration Syntax
C#Visual BasicVisual C++
namespace Microsoft.Bing
Namespace Microsoft.Bing
namespace Microsoft.Bing
Types
All TypesClassesInterfacesEnumerations
IconTypeDescription
DataResources
A strongly-typed resource class, for looking up localized strings, etc.

ErrorEventArgs
Implements an event argument type for encapsulating a search error passed by an ISearchEngine implementation.

ISearchEngine
Defines a contract for an object which is capable of executing asychronous SearchRequests and other services, such as a query time elapsed metric

ISearchStorage
Defines a contract for an type which provides search history storage

IsolatedSearchStorage
An implementation of ISearchStorage which reads and writes the SearchHistory to and from isolated storage.

MediaTypes
Defines an enumerate type which identifies a media type - this is used to differentiate iconic images used to represent the visual items for the search results.

NewsCategories
Defines a set of string constants used to identify news categories - these constants are a part of the Microsoft Bing Search API.

SearchEngine
A default implementation of ISearchEngine which uses Microsoft Bing to provide search results.

SearchEnvironment
Implements a singleton for aggregating observable data objects, search related events, global search settings and other common runtime resources.

SearchHistory
Implements an observable stack of SearchHistoryItem instances.

SearchHistoryItem
Implements a simple serializable object for capturing a search query

SearchMarkets
Defines a set of string constants used to identify search markets - these constants are a part of the Microsoft Bing Search API.

SearchMedia
An enumerated value set which describes which supported search feed is to be used.

SearchResponseEventArgs
Implements an event argument for identification of a SearchResponse object.

SearchResult
Implements a wrapper class for abstracting a search result

SearchResultKind
An enumerated value set which describes the kind of search result returned by a search

SearchResults
Implements a collection of SearchResult instances.
Remarks
NOTE: This type is observable by ItemsControl instances.

SimpleVersion
Implements a simple (two digit) version type. This class is used to identify the Microsoft Bing API version.

UILanguages
Defines a set of string constants used to identify supported user interface languages - these constants are a part of the Microsoft Bing Search API.