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.Catalogs.ComponentItem.GetVersion(System.Int32@)

ComponentItemGetVersion Method

Gets the version number of custom component item from the component database.

Namespace:  Tekla.Structures.Catalogs
Assembly:  Tekla.Structures.Catalogs (in Tekla.Structures.Catalogs.dll) Version: 2019.1.0.0 (2019.1.0.0)
Syntax
public bool GetVersion(
	ref int version
)

Parameters

version
Type: SystemInt32
The version number of the component item.

Return Value

Type: Boolean
Version number on success, int.MinValue if not found.
See Also