AnsweredAssumed Answered

C# Retrieving field data type from a FeatureLayer/Class

Question asked by mratcliffe_mwwssb on Mar 26, 2018
Latest reply on Mar 26, 2018 by mratcliffe_mwwssb

I want to parse user input through a field data type converter (if...else if) so that I don't get a "Data Type Mismatch" from my QueryFilter/SpatialQueryFilter.  However, I'm having trouble retrieving the actual field data type from the FeatureLayer or FeatureClass.  I can get to the Field name for the query, but not the data type (Text, Int, Double, Long, etc...).

Outcomes