Show / Hide Table of Contents

Method Remove

Remove(T)

Removes the first occurrence of a specific object from the collection

Declaration
public bool Remove(T item)
Parameters
Type Name Description
T item

The object to remove from the collection.

Returns
Type Description
System.Boolean

true if item was successfully removed from the collections; otherwise, false. This method also returns false if item is not found in the original collection.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.13
.NET Framework100.0 - 100.8
.NET 5100.11
.NET Core 3.1100.7 - 100.8
Xamarin.Android100.0 - 100.13
Xamarin.iOS100.0 - 100.8
UWP100.0 - 100.15
Relevant samples
Clip geometry: Clip a geometry with another geometry.
Convex hull: Create a convex hull for a given set of points. The convex hull is a polygon with shortest perimeter that encloses a set of points. As a visual analogy, consider a set of points as nails in a board. The convex hull of the points would be like a rubber band stretched around the outermost nails.
Find route: Display directions for a route between two points.
Find service area: Find the service area within a network from a given point.
In This Article
Back to top Copyright © 2022 Esri.