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.

StringList Methods

The StringList type exposes the following members.

Methods
  Name Description
Public method Add
Adds a new string to the end of the string list.
Public method Contains
Checks if the string is in the list.
Public method GetRange
Gets a part of the string list.
Public method IndexOf(String)
Gets the index of the specified string.
Public method IndexOf(String, Int32)
Gets the index of the specified string between the index to start the search from and the end of the list.
Public method IndexOf(String, Int32, Int32)
Gets the index of the specified string between the index to start the search from and startIndex + count.
Public method Insert
Inserts the string to the specified index.
Public method IsEqual
Compares the current object with an object of the same type.
Public method LastIndexOf(String)
Searches for the last occurence of the string in the list.
Public method LastIndexOf(String, Int32)
Searches for the last occurence of the string in the list.
Public method LastIndexOf(String, Int32, Int32)
Searches for the last occurence of the string in the list.
Public method Remove
Removes the first occurence of the string from the list.
Public method RemoveRange
Removes a range of items starting from the given index.
Public method ToArray
Copies the strings to a string array.
Top
See Also