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

Remove Method (Gallery)
Removes the first occurrence of a specific object from the collection.
Syntax
protected bool Remove( 
   object item
)

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