Click or drag to resize

EntityCollectionIndexOf Method

Searches for the specified entity and returns the zero-based index of the first occurrence within the entire collection.

Namespace:  DXFReaderNET.Collections
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public int IndexOf(
	EntityObject item
)

Parameters

item
Type: DXFReaderNET.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