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.UserPropertyItem.GetOptions(System.Collections.Generic.List{System.Collections.Generic.KeyValuePair{System.Int32,System.String}}@,System.Boolean)

UserPropertyItemGetOptions Method (ListKeyValuePairInt32, String, Boolean)

Gets the value options of an integer property.

Namespace:  Tekla.Structures.Catalogs
Assembly:  Tekla.Structures.Catalogs (in Tekla.Structures.Catalogs.dll) Version: 2020.0.0.0 (2020.0.55582.0)
Syntax
public bool GetOptions(
	ref List<KeyValuePair<int, string>> IntOptions,
	bool translatedLabels
)

Parameters

IntOptions
Type: System.Collections.GenericListKeyValuePairInt32, String
The value options that were gotten.
translatedLabels
Type: SystemBoolean
if set to true labels translated to current language are returned, otherwise the resource key of label is returned.

Return Value

Type: Boolean
True on success.
See Also