Share via


Emotion Constructors

Definition

Overloads

Emotion()

Initializes a new instance of the Emotion class.

Emotion(Double, Double, Double, Double, Double, Double, Double, Double)

Initializes a new instance of the Emotion class.

Emotion()

Source:
Emotion.cs

Initializes a new instance of the Emotion class.

public Emotion ();
Public Sub New ()

Applies to

Emotion(Double, Double, Double, Double, Double, Double, Double, Double)

Source:
Emotion.cs

Initializes a new instance of the Emotion class.

public Emotion (double anger = 0, double contempt = 0, double disgust = 0, double fear = 0, double happiness = 0, double neutral = 0, double sadness = 0, double surprise = 0);
new Microsoft.Azure.CognitiveServices.Vision.Face.Models.Emotion : double * double * double * double * double * double * double * double -> Microsoft.Azure.CognitiveServices.Vision.Face.Models.Emotion
Public Sub New (Optional anger As Double = 0, Optional contempt As Double = 0, Optional disgust As Double = 0, Optional fear As Double = 0, Optional happiness As Double = 0, Optional neutral As Double = 0, Optional sadness As Double = 0, Optional surprise As Double = 0)

Parameters

anger
Double
contempt
Double
disgust
Double
fear
Double
happiness
Double
neutral
Double
sadness
Double
surprise
Double

Applies to