C# Class Bing.BingSearchContainer

Inheritance: System.Data.Services.Client.DataServiceContext
Datei anzeigen Open project: reedy/AutoWikiBrowser Class Usage Examples

Public Methods

Method Description
BingSearchContainer ( Uri serviceRoot ) : System
Composite ( String Sources, String Query, String Options, String WebSearchOptions, String Market, String Adult, Double Latitude, Double Longitude, String WebFileType, String ImageFilters, String VideoFilters, String VideoSortBy, String NewsLocationOverride, String NewsCategory, String NewsSortBy ) : DataServiceQuery

Image ( String Query, String Options, String Market, String Adult, Double Latitude, Double Longitude, String ImageFilters ) : DataServiceQuery

News ( String Query, String Options, String Market, String Adult, Double Latitude, Double Longitude, String NewsLocationOverride, String NewsCategory, String NewsSortBy ) : DataServiceQuery

RelatedSearch ( String Query, String Options, String Market, String Adult, Double Latitude, Double Longitude ) : DataServiceQuery

SpellingSuggestions ( String Query, String Options, String Market, String Adult, Double Latitude, Double Longitude ) : DataServiceQuery

Video ( String Query, String Options, String Market, String Adult, Double Latitude, Double Longitude, String VideoFilters, String VideoSortBy ) : DataServiceQuery

Web ( String Query, String Options, String WebSearchOptions, String Market, String Adult, Double Latitude, Double Longitude, String WebFileType ) : DataServiceQuery

Method Details

BingSearchContainer() public method

public BingSearchContainer ( Uri serviceRoot ) : System
serviceRoot System.Uri
return System

Composite() public method

public Composite ( String Sources, String Query, String Options, String WebSearchOptions, String Market, String Adult, Double Latitude, Double Longitude, String WebFileType, String ImageFilters, String VideoFilters, String VideoSortBy, String NewsLocationOverride, String NewsCategory, String NewsSortBy ) : DataServiceQuery
Sources String Bing search sources Sample Values : web+image+video+news+spell
Query String Bing search query Sample Values : xbox
Options String Specifies options for this request for all Sources. Valid values are: DisableLocationDetection, EnableHighlighting. Sample Values : EnableHighlighting
WebSearchOptions String Specify options for a request to the Web SourceType. Valid values are: DisableHostCollapsing, DisableQueryAlterations. Sample Values : DisableQueryAlterations
Market String Market. Note: Not all Sources support all markets. Sample Values : en-US
Adult String Adult setting is used for filtering sexually explicit content Sample Values : Moderate
Latitude Double Latitude Sample Values : 47.603450
Longitude Double Longitude Sample Values : -122.329696
WebFileType String File extensions to return Sample Values : XLS
ImageFilters String Array of strings that filter the response the API sends based on size, aspect, color, style, face or any combination thereof. Valid values are: Size:Small, Size:Medium, Size:Large, Size:Width:[Width], Size:Height:[Height], Aspect:Square, Aspect:Wide, Aspect:Tall, Color:Color, Color:Monochrome, Style:Photo, Style:Graphics, Face:Face, Face:Portrait, Face:Other. Sample Values : Size:Small+Aspect:Square
VideoFilters String Array of strings that filter the response the API sends based on size, aspect, color, style, face or any combination thereof. Valid values are: Duration:Short, Duration:Medium, Duration:Long, Aspect:Standard, Aspect:Widescreen, Resolution:Low, Resolution:Medium, Resolution:High. Sample Values : Duration:Short+Resolution:High
VideoSortBy String The sort order of results returned Sample Values : Date
NewsLocationOverride String Overrides Bing location detection. This parameter is only applicable in en-US market. Sample Values : US.WA
NewsCategory String The category of news for which to provide results Sample Values : rt_Business
NewsSortBy String The sort order of results returned Sample Values : Date
return DataServiceQuery

Image() public method

public Image ( String Query, String Options, String Market, String Adult, Double Latitude, Double Longitude, String ImageFilters ) : DataServiceQuery
Query String Bing search query Sample Values : xbox
Options String Specifies options for this request for all Sources. Valid values are: DisableLocationDetection, EnableHighlighting. Sample Values : EnableHighlighting
Market String Market. Note: Not all Sources support all markets. Sample Values : en-US
Adult String Adult setting is used for filtering sexually explicit content Sample Values : Moderate
Latitude Double Latitude Sample Values : 47.603450
Longitude Double Longitude Sample Values : -122.329696
ImageFilters String Array of strings that filter the response the API sends based on size, aspect, color, style, face or any combination thereof. Valid values are: Size:Small, Size:Medium, Size:Large, Size:Width:[Width], Size:Height:[Height], Aspect:Square, Aspect:Wide, Aspect:Tall, Color:Color, Color:Monochrome, Style:Photo, Style:Graphics, Face:Face, Face:Portrait, Face:Other. Sample Values : Size:Small+Aspect:Square
return DataServiceQuery

News() public method

public News ( String Query, String Options, String Market, String Adult, Double Latitude, Double Longitude, String NewsLocationOverride, String NewsCategory, String NewsSortBy ) : DataServiceQuery
Query String Bing search query Sample Values : xbox
Options String Specifies options for this request for all Sources. Valid values are: DisableLocationDetection, EnableHighlighting. Sample Values : EnableHighlighting
Market String Market. Note: Not all Sources support all markets. Sample Values : en-US
Adult String Adult setting is used for filtering sexually explicit content Sample Values : Moderate
Latitude Double Latitude Sample Values : 47.603450
Longitude Double Longitude Sample Values : -122.329696
NewsLocationOverride String Overrides Bing location detection. This parameter is only applicable in en-US market. Sample Values : US.WA
NewsCategory String The category of news for which to provide results Sample Values : rt_Business
NewsSortBy String The sort order of results returned Sample Values : Date
return DataServiceQuery

RelatedSearch() public method

public RelatedSearch ( String Query, String Options, String Market, String Adult, Double Latitude, Double Longitude ) : DataServiceQuery
Query String Bing search query Sample Values : xbox
Options String Specifies options for this request for all Sources. Valid values are: DisableLocationDetection, EnableHighlighting. Sample Values : EnableHighlighting
Market String Market. Note: Not all Sources support all markets. Sample Values : en-US
Adult String Adult setting is used for filtering sexually explicit content Sample Values : Moderate
Latitude Double Latitude Sample Values : 47.603450
Longitude Double Longitude Sample Values : -122.329696
return DataServiceQuery

SpellingSuggestions() public method

public SpellingSuggestions ( String Query, String Options, String Market, String Adult, Double Latitude, Double Longitude ) : DataServiceQuery
Query String Bing search query Sample Values : xblox
Options String Specifies options for this request for all Sources. Valid values are: DisableLocationDetection, EnableHighlighting. Sample Values : EnableHighlighting
Market String Market. Note: Not all Sources support all markets. Sample Values : en-US
Adult String Adult setting is used for filtering sexually explicit content Sample Values : Moderate
Latitude Double Latitude Sample Values : 47.603450
Longitude Double Longitude Sample Values : -122.329696
return DataServiceQuery

Video() public method

public Video ( String Query, String Options, String Market, String Adult, Double Latitude, Double Longitude, String VideoFilters, String VideoSortBy ) : DataServiceQuery
Query String Bing search query Sample Values : xbox
Options String Specifies options for this request for all Sources. Valid values are: DisableLocationDetection, EnableHighlighting. Sample Values : EnableHighlighting
Market String Market. Note: Not all Sources support all markets. Sample Values : en-US
Adult String Adult setting is used for filtering sexually explicit content Sample Values : Moderate
Latitude Double Latitude Sample Values : 47.603450
Longitude Double Longitude Sample Values : -122.329696
VideoFilters String Array of strings that filter the response the API sends based on size, aspect, color, style, face or any combination thereof. Valid values are: Duration:Short, Duration:Medium, Duration:Long, Aspect:Standard, Aspect:Widescreen, Resolution:Low, Resolution:Medium, Resolution:High. Sample Values : Duration:Short+Resolution:High
VideoSortBy String The sort order of results returned Sample Values : Date
return DataServiceQuery

Web() public method

public Web ( String Query, String Options, String WebSearchOptions, String Market, String Adult, Double Latitude, Double Longitude, String WebFileType ) : DataServiceQuery
Query String Bing search query Sample Values : xbox
Options String Specifies options for this request for all Sources. Valid values are: DisableLocationDetection, EnableHighlighting. Sample Values : EnableHighlighting
WebSearchOptions String Specify options for a request to the Web SourceType. Valid values are: DisableHostCollapsing, DisableQueryAlterations. Sample Values : DisableQueryAlterations
Market String Market. Note: Not all Sources support all markets. Sample Values : en-US
Adult String Adult setting is used for filtering sexually explicit content Sample Values : Moderate
Latitude Double Latitude Sample Values : 47.603450
Longitude Double Longitude Sample Values : -122.329696
WebFileType String File extensions to return Sample Values : XLS
return DataServiceQuery