PortalItemAddRatingAsync Method (Double, CancellationToken)
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.
Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 184.108.40.206
public Task AddRatingAsync(
- Type: SystemDouble
- Type: System.ThreadingCancellationToken
A CancellationToken with which to cancel the operation if required.
The task object representing the asynchronous add rating operation.
The value of the task result is a double.