Share via


Rating Class

Definition

Defines a rating.

public class Rating : Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.PropertiesItem
type Rating = class
    inherit PropertiesItem
Public Class Rating
Inherits PropertiesItem
Inheritance
Derived

Constructors

Rating()

Initializes a new instance of the Rating class.

Rating(Double, String, Nullable<Double>)

Initializes a new instance of the Rating class.

Properties

BestRating

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

RatingValue

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

Text

Gets text representation of an item.

(Inherited from PropertiesItem)

Methods

Validate()

Validate the object.

Applies to