Click or drag to resize

EntityCollectionIndexOf Method

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Searches for the specified entity and returns the zero-based index of the first occurrence within the entire collection.

Namespace:  netDxf.Collections
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public int IndexOf(
	EntityObject item
)
Request Example View Source

Parameters

item
Type: netDxf.EntitiesEntityObject
The entity to locate in the collection.

Return Value

Type: Int32
The zero-based index of the first occurrence of item within the entire collection, if found; otherwise, –1.

Implements

IListTIndexOf(T)
See Also