Condividi tramite


AggregateRating Class

Definition

Defines the metrics that indicate how well an item was rated by others.

public class AggregateRating : Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Rating
type AggregateRating = class
    inherit Rating
Public Class AggregateRating
Inherits Rating
Inheritance
AggregateRating

Constructors

AggregateRating()

Initializes a new instance of the AggregateRating class.

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

Initializes a new instance of the AggregateRating class.

Properties

BestRating

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

(Inherited from Rating)
RatingValue

Gets or sets the mean (average) rating. The possible values are 1.0 through 5.0.

(Inherited from Rating)
ReviewCount

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

Text

Gets text representation of an item.

(Inherited from PropertiesItem)

Methods

Validate()

Validate the object.

Applies to