//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; }
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.