RankingRankingItem Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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. |
RankingRankingItem()
Initializes a new instance of the RankingRankingItem class.
public RankingRankingItem ();
Public Sub New ()
Applies to
RankingRankingItem(String, Nullable<Int32>, Identifiable, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Initializes a new instance of the RankingRankingItem class.
public RankingRankingItem (string answerType, int? resultIndex = default, Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.Identifiable value = default, int? htmlIndex = default, int? textualIndex = default, int? screenshotIndex = default);
new Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.RankingRankingItem : string * Nullable<int> * Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.Identifiable * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.RankingRankingItem
Public Sub New (answerType As String, Optional resultIndex As Nullable(Of Integer) = Nothing, Optional value As Identifiable = Nothing, Optional htmlIndex As Nullable(Of Integer) = Nothing, Optional textualIndex As Nullable(Of Integer) = Nothing, Optional screenshotIndex As Nullable(Of Integer) = Nothing)
Parameters
- answerType
- String
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'
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.
- value
- Identifiable
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.
Applies to
Azure SDK for .NET