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.Dialog.UIControls.EnvironmentFiles.GetMultiDirectoryFileList(System.Collections.Generic.List{System.String},System.String)

EnvironmentFilesGetMultiDirectoryFileList Method (ListString, String)

Gets a list of files with the given extension from the given search directories and from XS_FIRM, XS_PROJECT subdirectories.

Namespace:  Tekla.Structures.Dialog.UIControls
Assembly:  Tekla.Structures.Dialog (in Tekla.Structures.Dialog.dll) Version: 2020.0.0.0 (2020.0.55582.0)
Syntax
public static List<string> GetMultiDirectoryFileList(
	List<string> searchDirectories,
	string fileExtension
)

Parameters

searchDirectories
Type: System.Collections.GenericListString
The search directories to be used.
fileExtension
Type: SystemString
The file extension to be used.

Return Value

Type: ListString
A list of found file names without the file extension.
See Also