API Reference

Detailed and full API reference helps you master Tekla development

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

Meta.Microsoft.Help.Id
M:Tekla.Structures.Filtering.BinaryFilterExpressionCollection.IndexOf(Tekla.Structures.Filtering.BinaryFilterExpressionItem)

BinaryFilterExpressionCollectionIndexOf Method

Searches for the specified BinaryFilterExpressionItem in the collection and returns a zero-based index if found.

Namespace:  Tekla.Structures.Filtering
Assembly:  Tekla.Structures (in Tekla.Structures.dll) Version: 2020.0.0.0 (2020.0.55582.0)
Syntax
public int IndexOf(
	BinaryFilterExpressionItem Item
)

Parameters

Item
Type: Tekla.Structures.FilteringBinaryFilterExpressionItem
The item to search for. This value cannot be null.

Return Value

Type: Int32
The zero-based index of the item in the collection. -1 if not found.

Implements

IListTIndexOf(T)
Exceptions
Exception Condition
ArgumentNullException Thrown when the supplied item is null.
See Also