SearchResponse interface
定義回應在要求成功時所包含的最上層物件。
屬性
| computation | 數學表達式或單位轉換表達式的答案。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
| id | 字串標識碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
| images | 與搜尋查詢相關的影像清單。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
| news | 與搜尋查詢相關的新聞文章清單。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
| query |
物件,包含 Bing 用於要求的查詢字串。 此物件包含使用者輸入的查詢字串。 如果查詢字串包含拼字錯誤,它也可能包含用於查詢的已改變查詢字串。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
| ranking |
Bing 建議您顯示搜尋結果的順序。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
| related |
其他人所進行的相關查詢清單。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
| spell |
可能代表使用者意圖的查詢字串。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
| time |
一或多個地理位置的日期和時間。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
| videos | 與搜尋查詢相關的影片清單。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
| web |
與搜尋查詢相關的網頁清單。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
| web |
此專案之 Bing 搜尋結果的 URL。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
屬性詳細資料
computation
id
字串標識碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。
id?: string
屬性值
string
images
news
queryContext
物件,包含 Bing 用於要求的查詢字串。 此物件包含使用者輸入的查詢字串。 如果查詢字串包含拼字錯誤,它也可能包含用於查詢的已改變查詢字串。 注意:這個屬性不會串行化。 它只能由伺服器填入。
queryContext?: QueryContext
屬性值
rankingResponse
Bing 建議您顯示搜尋結果的順序。 注意:這個屬性不會串行化。 它只能由伺服器填入。
rankingResponse?: RankingRankingResponse
屬性值
relatedSearches
其他人所進行的相關查詢清單。 注意:這個屬性不會串行化。 它只能由伺服器填入。
relatedSearches?: RelatedSearchesRelatedSearchAnswer
屬性值
spellSuggestions
timeZone
videos
webPages
webSearchUrl
此專案之 Bing 搜尋結果的 URL。 注意:這個屬性不會串行化。 它只能由伺服器填入。
webSearchUrl?: string
屬性值
string