EnvironmentFilesGetAttributeFile Method (ListString, String) |
Note: This API is now obsolete.
Gets a file info representing the first match in the search directories.
Namespace: Tekla.Structures.Dialog.UIControls
Assembly: Tekla.Structures.Dialog (in Tekla.Structures.Dialog.dll) Version: 2026.0.0-alpha00057080+93cd22c410a086ecc356b7088d4daaf2e12907eb
[ObsoleteAttribute("Deprecated. Please use GetAttributeFile(string fileName) instead.", false)] public static FileInfo GetAttributeFile( List<string> searchDirectories, string fileName )
Parameters
- searchDirectories
- Type: System.Collections.GenericListString
The list of directories to be used for searching for the file. - fileName
- Type: SystemString
The name of the file including the file extension.
Return Value
Type: FileInfoA file info for the first match in the directory list. Null if no match was found.