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

c07f90b6 1b72 06a7 f456 24ba2fce95fb

haplokuon edited this page May 6, 2023 · 1 revision

IndexOf Method

netDxf 3.0.0 Library

Searches for the specified attribute 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(
	Attribute item
)

VB

Public Function IndexOf ( 
	item As Attribute
) As Integer

C++

public:
int IndexOf(
	Attribute^ item
)

F#

member IndexOf : 
        item : Attribute -> int 

Parameters

  Attribute
The attribute 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.

See Also

Reference

AttributeCollection Class
netDxf.Collections Namespace

Clone this wiki locally