Obsolete Members for PortalGroupListModel

  • PortalGroupListModel
  • The following members of class PortalGroupListModel 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::PortalGroup *portalGroup)
    (obsolete) void insert(int index, Esri::ArcGISRuntime::PortalGroup *portalGroup)
    (obsolete) void move(int from, int to)
    (obsolete) void removeAt(int index)
    (obsolete) void removeOne(Esri::ArcGISRuntime::PortalGroup *portalGroup)

    Member Function Documentation

    void PortalGroupListModel::append(Esri::ArcGISRuntime::PortalGroup *portalGroup)

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

    Appends PortalGroup portalGroup to the list model.

    This method only affects the local instance of this list model class. This method will not add a group to the online portal.

    void PortalGroupListModel::insert(int index, Esri::ArcGISRuntime::PortalGroup *portalGroup)

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

    Inserts PortalGroup portalGroup at the 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. This method will not add a group to the online portal.

    void PortalGroupListModel::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 PortalGroup 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 move a group in the online portal.

    void PortalGroupListModel::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 PortalGroup at the specified index.

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

    List models do not take ownership of the objects they contain. Therefore, removing or clearing objects from the list model will not delete those objects. An RAII technique should be used to ensure that memory is properly deallocated.

    void PortalGroupListModel::removeOne(Esri::ArcGISRuntime::PortalGroup *portalGroup)

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

    Removes the PortalGroup portalGroup from the list model.

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

    List models do not take ownership of the objects they contain. Therefore, removing or clearing objects from the list model will not delete those objects. An RAII technique should be used to ensure that memory is properly deallocated.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.