Click or drag to resize

AsciiImporterImportFilesIntoSeparateNewTables(ProjectFolder, IEnumerableString, Boolean, AsciiImportOptions) 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.Ascii
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static IList<DataTable> ImportFilesIntoSeparateNewTables(
	this ProjectFolder projectFolder,
	IEnumerable<string> fileNames,
	bool sortFileNames,
	out AsciiImportOptions?? importOptions
)

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.
importOptions  AsciiImportOptions
On return, contains the options used to import the first Ascii files. These options are also used to import all other Ascii files.

Return Value

IListDataTable
The 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