VectorLayer.FindIndex
VectorLayer.FindIndex method
Searching for a Feature index according to the condition.
public virtual int FindIndex(Func<Feature, bool> match)
| Parameter | Type | Description |
|---|---|---|
| match | Func`2 | Predicate for search. |
Return Value
The zero-based index of the first occurrence of an Feature that matches the conditions defined by match, if found; otherwise, -1.
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | If predicate is null. |
See Also
- class Feature
- class VectorLayer
- namespace Aspose.Gis
- assembly Aspose.GIS