Share via


RankingRankingItem Class

Definition

Defines a search result item to display

public class RankingRankingItem
type RankingRankingItem = class
Public Class RankingRankingItem
Inheritance
RankingRankingItem

Constructors

RankingRankingItem()

Initializes a new instance of the RankingRankingItem class.

RankingRankingItem(String, Nullable<Int32>, Identifiable, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the RankingRankingItem class.

Properties

AnswerType

Gets or sets the answer that contains the item to display. Use the type to find the answer in the SearchResponse object. The type is the name of a SearchResponse field. Possible values include: 'WebPages', 'Images', 'SpellSuggestions', 'News', 'RelatedSearches', 'Videos', 'Computation', 'TimeZone'

HtmlIndex
ResultIndex

Gets a zero-based index of the item in the answer.If the item does not include this field, display all items in the answer. For example, display all news articles in the News answer.

ScreenshotIndex
TextualIndex
Value

Gets the ID that identifies either an answer to display or an item of an answer to display. If the ID identifies an answer, display all items of the answer.

Methods

Validate()

Validate the object.

Applies to