Skip To Content ArcGIS for Developers Sign In Dashboard

Obsolete Members for PortalItemCommentListModel

The following members of class PortalItemCommentListModel are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Functions

(obsolete) void append(Esri::ArcGISRuntime::PortalItemComment *portalItemComment)
(obsolete) void clear()
(obsolete) void insert(int index, Esri::ArcGISRuntime::PortalItemComment *portalItemComment)
(obsolete) void move(int from, int to)
(obsolete) void removeAt(int index)
(obsolete) void removeOne(Esri::ArcGISRuntime::PortalItemComment *portalItemComment)

Member Function Documentation

void PortalItemCommentListModel::append(Esri::ArcGISRuntime::PortalItemComment *portalItemComment)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Appends PortalItemComment portalItemComment to the list model.

This method only affects the local instance of this list model class. To add a comment to the online portal item, use PortalItem::addComment instead.

void PortalItemCommentListModel::clear()

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Removes all comments from the list model.

This method only affects the local instance of this list model class. This method will not remove a comment from the online portal item.

void PortalItemCommentListModel::insert(int index, Esri::ArcGISRuntime::PortalItemComment *portalItemComment)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Inserts PortalItemComment portalItemComment at a specified index in the list model.

This method will append to the list model if the index is greater than the current size of the list.

This method only affects the local instance of this list model class. To add a comment to the online portal item, use PortalItem::addComment instead.

void PortalItemCommentListModel::move(int from, int to)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Moves one PortalItemComment from an index in the list model to a different index.

This method only affects the local instance of this list model class. This method will not move a comment on the online portal item.

void PortalItemCommentListModel::removeAt(int index)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Removes a PortalItemComment at the specified index.

This method only affects the local instance of this list model class. This method will not remove a comment from the online portal item.

void PortalItemCommentListModel::removeOne(Esri::ArcGISRuntime::PortalItemComment *portalItemComment)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Removes the PortalItemComment portalItemComment from the list model.

This method only affects the local instance of this list model class. This method will not remove a comment from the online portal item.


Feedback on this topic?