Condividi tramite


Entities Class

Definition

Defines an entity answer.

public class Entities : Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.SearchResultsAnswer
type Entities = class
    inherit SearchResultsAnswer
Public Class Entities
Inherits SearchResultsAnswer
Inheritance

Constructors

Entities()

Initializes a new instance of the Entities class.

Entities(IList<Thing>, String, IList<ContractualRulesContractualRule>, String, QueryContext, String)

Initializes a new instance of the Entities class.

Properties

ContractualRules

Gets a list of rules that you must adhere to if you display the item.

(Inherited from Response)
Id

Gets a String identifier.

(Inherited from Identifiable)
QueryContext (Inherited from SearchResultsAnswer)
QueryScenario

Gets the supported query scenario. This field is set to DominantEntity or DisambiguationItem. The field is set to DominantEntity if Bing determines that only a single entity satisfies the request. For example, a book, movie, person, or attraction. If multiple entities could satisfy the request, the field is set to DisambiguationItem. For example, if the request uses the generic title of a movie franchise, the entity's type would likely be DisambiguationItem. But, if the request specifies a specific title from the franchise, the entity's type would likely be DominantEntity. Possible values include: 'DominantEntity', 'DominantEntityWithDisambiguation', 'Disambiguation', 'List', 'ListWithPivot'

Value

Gets or sets a list of entities.

WebSearchUrl

Gets the URL To Bing's search result for this item.

(Inherited from Response)

Methods

Validate()

Validate the object.

Applies to