//TO DO: get the field names from input_feature and display as checkboxesAppreciate any help.
public static List<string> GetFeatureFields( IFeatureLayer featureLayer ) { List<string> fieldList = new List<string>(); IFeatureClass featureClass = featureLayer.FeatureClass; if ( featureClass == null ) return fieldList; for ( int x = 0; x < featureClass.Fields.FieldCount; x++ ) { IField field = featureClass.Fields.get_Field( x ); fieldList.Add( field.Name ); } return fieldList; }
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.