ArcGIS Pro二次开发-获得一个要素的字段
var featLayer = MapView.Active.GetSelectedLayers().First() as FeatureLayer; QueuedTask.Run(() => { List<FieldDescription> pFieldList = featLayer.GetFieldDescriptions(); foreach (FieldDescription pField in pFieldList) { MessageBox.Show(pField.Name); } });