Bagikan melalui


EntitiesEntityPresentationInfo Class

Definition

Defines additional information about an entity such as type hints.

public class EntitiesEntityPresentationInfo
type EntitiesEntityPresentationInfo = class
Public Class EntitiesEntityPresentationInfo
Inheritance
EntitiesEntityPresentationInfo

Constructors

EntitiesEntityPresentationInfo()

Initializes a new instance of the EntitiesEntityPresentationInfo class.

EntitiesEntityPresentationInfo(String, IList<String>, String)

Initializes a new instance of the EntitiesEntityPresentationInfo class.

Properties

EntityScenario

Gets or sets the supported scenario. Possible values include: 'DominantEntity', 'DisambiguationItem', 'ListItem'

EntityTypeDisplayHint

Gets a display version of the entity hint. For example, if entityTypeHints is Artist, this field may be set to American Singer.

EntityTypeHints

Gets a list of hints that indicate the entity's type. The list could contain a single hint such as Movie or a list of hints such as Place, LocalBusiness, Restaurant. Each successive hint in the array narrows the entity's type.

Methods

Validate()

Validate the object.

Applies to