Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

b9de5bd8 3c39 42d3 30c1 8895f0027bc5

haplokuon edited this page May 6, 2023 · 1 revision

IndexOf Method

netDxf 3.0.0 Library

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

Definition

Namespace: netDxf.Collections
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public int IndexOf(
	EntityObject item
)

VB

Public Function IndexOf ( 
	item As EntityObject
) As Integer

C++

public:
virtual int IndexOf(
	EntityObject^ item
) sealed

F#

abstract IndexOf : 
        item : EntityObject -> int 
override IndexOf : 
        item : EntityObject -> int 

Parameters

  EntityObject
The entity to locate in the collection.

Return Value

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

Implements

IList(T).IndexOf(T)

See Also

Reference

EntityCollection Class
netDxf.Collections Namespace

Clone this wiki locally