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.

StringListIndexOf Method (String, Int32)

Gets the index of the specified string between the index to start the search from and the end of the list.

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2023.0.1
public int IndexOf(
	string value,
	int startIndex


Type: SystemString
The string to locate in the list.
Type: SystemInt32
The index to start the search from.

Return Value

Type: Int32
The index of the string if found in the list, otherwise -1.
See Also