Esempio n. 1
0
 /// <summary>Конструктор</summary>
 /// <param name="fileName">Имя файла</param>
 protected internal MiLayer(string fileName)
 {
     this._handle = MiApi.mitab_c_open(fileName);
     if (this.Handle == IntPtr.Zero)
     {
         throw new FileNotFoundException("File " + fileName + " not found", fileName);
     }
     this._fields   = CreateFields();
     this._features = CreateFeatures();
     this._fileName = fileName;
 }