ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / Gallery Class / Remove Method
The item being removed from the gallery.

In This Topic
    Remove Method (Gallery)
    In This Topic
    Removes the first occurrence of a specific object from the collection.
    Syntax
    protected bool Remove( 
       object item
    )
    Protected Function Remove( _
       ByVal item As Object _
    ) As Boolean

    Parameters

    item
    The item being removed from the gallery.

    Return Value

    True if successfully removed; otherwise, false. This method also returns false if the object was not found in the collection.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also