I am attempting to search the Attributes property of a Feature to find a specific field name.
FeatureLayer flayer = lyr as FeatureLayer;
FeatureQueryResult queryResult = await flayer.GetSelectedFeaturesAsync();
foreach (Feature feat in queryResult)
var catAtt = feat.Attributes.Where(x=>x.Key == "Category");
Although my FeatureLayer has 6 editable fields, I find that only 5 attributes are listed within the Attributes property. When I look for 'Category', the search does not return anything although I know the field exists. Is there something that I need to set up on the layer to return all of the Attributes when using the GetSelectedFeaturesAsync() method?