Share via


AggregateRating Constructors

Definition

Overloads

AggregateRating()

Initializes a new instance of the AggregateRating class.

AggregateRating(Double, String, Nullable<Double>, Nullable<Int32>)

Initializes a new instance of the AggregateRating class.

AggregateRating()

Initializes a new instance of the AggregateRating class.

public AggregateRating ();
Public Sub New ()

Applies to

AggregateRating(Double, String, Nullable<Double>, Nullable<Int32>)

Initializes a new instance of the AggregateRating class.

public AggregateRating (double ratingValue, string text = default, double? bestRating = default, int? reviewCount = default);
new Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.AggregateRating : double * string * Nullable<double> * Nullable<int> -> Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.AggregateRating
Public Sub New (ratingValue As Double, Optional text As String = Nothing, Optional bestRating As Nullable(Of Double) = Nothing, Optional reviewCount As Nullable(Of Integer) = Nothing)

Parameters

ratingValue
Double

The mean (average) rating. The possible values are 1.0 through 5.0.

text
String

Text representation of an item.

bestRating
Nullable<Double>

The highest rated review. The possible values are 1.0 through 5.0.

reviewCount
Nullable<Int32>

The number of times the recipe has been rated or reviewed.

Applies to