import_from_file


Description:

public bool import_from_file (string file, HashTable<int,int>? cols_trans, Set options) throws Error

Imports data contained in the file file into this; the format is detected.

Upon errors FALSE will be returned and error will be assigned a Error from the DataModelError domain.

Parameters:

this

a DataModel

file

the filename to import from

cols_trans

a GenericSet for columns translating, or null, see import_from_model

options

list of options for the export

Returns:

TRUE if no error occurred




2022 vala-language.org