DK for .NET | TatukGIS.NDK.TGIS_Config.Create | Constructors | Fields | Methods | Properties
Creates a configuration wrapper for a layer or project file.
// C# public virtual TGIS_Config( Object _layer, string _path );
' VisualBasic Public Overridable Sub New( ByVal _layer As Object, ByVal _path As String )
// Oxygene public constructor ( _layer : TObject; _path : String ); virtual;
| Name | Type | Description |
|---|---|---|
| _layer | Object TObject | Layer object associated with the configuration. |
| _path | string String | Full path to the configuration file. It can be empty, in which case only layer-dependent files are used. |
PURPOSE: Initializes configuration state for subsequent section selection, typed parameter access, and project or layer serialization.
BEHAVIOR: Stores the associated layer context and config path, and prepares the instance for descendant-specific loading and saving behavior.
CONSTRAINTS: This constructor belongs to an abstract base class and is used through descendant classes created for a concrete config format.