AsciiImporterTryImportFromMultipleAsciiFilesHorizontally(DataTable, IEnumerableString, Boolean, AsciiImportOptions, String) Method |
Imports multiple Ascii files into the provided table in horizontal order, i.e. in new columns. The provided importOptions are used to import the files.
The first column of each file is considered to be the x-column, and if they match another x-column, the newly imported columns will get the same column group.
Namespace: Altaxo.Serialization.AsciiAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static bool TryImportFromMultipleAsciiFilesHorizontally(
this DataTable dataTable,
IEnumerable<string> fileNames,
bool sortFileNames,
AsciiImportOptions importOptions,
out string errors
)
Parameters
- dataTable DataTable
- The table the data should be imported to.
- fileNames IEnumerableString
- An array of filenames to import.
- sortFileNames Boolean
- If true, the fileNames are sorted before usage in ascending order using the default string comparator.
- importOptions AsciiImportOptions
- Options used to import the Ascii files. This parameter must not be null, and the options must be fully specified.
- errors String
- Null if no error occurs, or an error description.
Return Value
BooleanTrue if successfull; otherwise, false.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
DataTable. 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