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

a89b8914 7358 0c1c 05fe 547dbdc9cfae

haplokuon edited this page May 6, 2023 · 1 revision

IndexOf Method

netDxf 3.0.0 Library

Searches for the specified object 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(
	T item
)

VB

Public Function IndexOf ( 
	item As T
) As Integer

C++

public:
virtual int IndexOf(
	T item
) sealed

F#

abstract IndexOf : 
        item : 'T -> int 
override IndexOf : 
        item : 'T -> int 

Parameters

  T
The object 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

ObservableCollection(T) Class
netDxf.Collections Namespace

Clone this wiki locally