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
)
Public Function IndexOf (
item As EntityObject
) As Integer
public:
virtual int IndexOf(
EntityObject^ item
) sealed
abstract IndexOf :
item : EntityObject -> int
override IndexOf :
item : EntityObject -> int
METHOD IndexOf(
item AS EntityObject
) AS LONG
Parameters
- item
- Type: DXFReaderNET.EntitiesEntityObject
The entity to locate in the collection.
Return Value
Type:
Int32The zero-based index of the first occurrence of item within the entire collection, if found; otherwise, –1.
Implements
IListTIndexOf(T)See Also