Share via


Candidate Constructors

Definition

Overloads

Candidate()

Initializes a new instance of the Candidate class.

Candidate(String, Nullable<Double>)

Initializes a new instance of the Candidate class.

Candidate()

Initializes a new instance of the Candidate class.

public Candidate ();
Public Sub New ()

Applies to

Candidate(String, Nullable<Double>)

Initializes a new instance of the Candidate class.

public Candidate (string text = default, double? confidence = default);
new Microsoft.Azure.CognitiveServices.ContentModerator.Models.Candidate : string * Nullable<double> -> Microsoft.Azure.CognitiveServices.ContentModerator.Models.Candidate
Public Sub New (Optional text As String = Nothing, Optional confidence As Nullable(Of Double) = Nothing)

Parameters

text
String

The text found.

confidence
Nullable<Double>

The confidence level.

Applies to