Click or drag to resize

PortalItemAddRatingAsync Method (Double)

Adds a rating to an item that you have access to. Only one rating can be given to an item per user. If this call is made on an already rated item, the new rating will overwrite the current one. A user cannot rate their own item. Available only to authenticated users.

Namespace:  Esri.ArcGISRuntime.Portal
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.11.0
public Task AddRatingAsync(
	double rating


Type: SystemDouble
The rating.

Return Value

Type: Task
The task object representing the asynchronous add rating operation. The value of the task result is a double.
See Also