AsciiImporterImportFilesIntoSeparateNewTables(ProjectFolder, IEnumerableString, Boolean, Boolean) Method |
Imports multiple Ascii files into newly created new tables (each file into a separate table). The tables are named and stored in the project file in the provided project folder.
Namespace: Altaxo.Serialization.AsciiAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static IList<DataTable> ImportFilesIntoSeparateNewTables(
this ProjectFolder projectFolder,
IEnumerable<string> fileNames,
bool sortFileNames,
bool determineImportOptionsSeparatelyForEachFile
)
Parameters
- projectFolder ProjectFolder
- The project folder in which the new tables should be created.
- fileNames IEnumerableString
- The names of the files to import.
- sortFileNames Boolean
- If true, the fileNames are sorted before usage in ascending order using the default string comparator.
- determineImportOptionsSeparatelyForEachFile Boolean
- If true, the import options are determined for each file separately. Otherwise, i.e. if false, the import options are determined from the first file that is imported.
Return Value
IListDataTableThe list of tables created during the import.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ProjectFolder. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also