/// <summary>Конструктор</summary> /// <param name="layer">Слой</param> /// <param name="i">Индекс</param> protected internal Field(MiLayer layer, int i) { this.Layer = layer; this.Index = i; this.Name = MiApi.mitab_c_get_field_name(layer.Handle, i); this.Type = MiApi.mitab_c_get_field_type(layer.Handle, i); this.Precision = (short)MiApi.mitab_c_get_field_precision(layer.Handle, i); this.Width = MiApi.mitab_c_get_field_width(layer.Handle, i); }