AggregateRating Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET