Method New
New(string, UnitType, bool)
Creates a new catalog.
Declaration
public void New(string baseCatalogFilename, Appli.UnitType measurementUnit, bool isBaseCatalog)
Parameters
Type | Name | Description |
---|---|---|
string | baseCatalogFilename | Filename of a base catalog. Can be empty (to create a catalog wihout using a base catalog). |
Appli.UnitType | measurementUnit | The catalog measurement unit. |
bool | isBaseCatalog |
Remarks
Only one catalog can be created or loaded in memory at the same time. Such a catalog is called the current catalog.
Exceptions
Type | Condition |
---|---|
Sdk2Exception | If there's not enough memory to create the catalog. |