ArcGIS Pro 2.7 API Reference Guide
Remove Method (Gallery)

ArcGIS.Desktop.Framework.Contracts Namespace > Gallery Class : Remove Method
The item being removed from the gallery.
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 10, Windows 8.1

See Also

Reference

Gallery Class
Gallery Members