共用方式為


RecognizedEntity Constructors

Definition

Overloads

RecognizedEntity()

Initializes a new instance of the RecognizedEntity class.

RecognizedEntity(String, String, String, Thing, Nullable<Double>)

Initializes a new instance of the RecognizedEntity class.

RecognizedEntity()

Initializes a new instance of the RecognizedEntity class.

public RecognizedEntity ();
Public Sub New ()

Applies to

RecognizedEntity(String, String, String, Thing, Nullable<Double>)

Initializes a new instance of the RecognizedEntity class.

public RecognizedEntity (string id = default, string readLink = default, string webSearchUrl = default, Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Thing entity = default, double? matchConfidence = default);
new Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.RecognizedEntity : string * string * string * Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Thing * Nullable<double> -> Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.RecognizedEntity
Public Sub New (Optional id As String = Nothing, Optional readLink As String = Nothing, Optional webSearchUrl As String = Nothing, Optional entity As Thing = Nothing, Optional matchConfidence As Nullable(Of Double) = Nothing)

Parameters

id
String

A String identifier.

readLink
String

The URL that returns this resource.

webSearchUrl
String

The URL To Bing's search result for this item.

entity
Thing

The entity that was recognized. The following are the possible entity objects: Person

matchConfidence
Nullable<Double>

The confidence that Bing has that the entity in the image matches this entity. The confidence ranges from 0.0 through 1.0 with 1.0 being very confident.

Applies to