Click or drag to resize

PortalInfoIsCommentsEnabled Property

Gets a value indicating whether comments are enabled.

Namespace:  Esri.ArcGISRuntime.Portal
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version:
public bool IsCommentsEnabled { get; }

Property Value

Type: Boolean
Comments are enabled by default.
When this value is false, comments can't be accessed and CommentCount is set to zero for all items in the organization.
Calls to add a comment and view comments will fail.
If the organization re-enables comments, then Item comments can be accessed and CommentCount show number of comments.
See Also