Click or drag to resize

AttributeCollectionIndexOf Method

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Searches for the specified attribute and returns the zero-based index of the first occurrence within the entire collection.

Namespace:  netDxf.Collections
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public int IndexOf(
	Attribute item
)
Request Example View Source

Parameters

item
Type: netDxf.EntitiesAttribute
The attribute 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.
See Also