Select to view content in your preferred language

Can't add feature attributes to FeatureCollectionTable

464
0
05-02-2019 11:14 AM
KeithLarson1
MVP Alum

Hello All,

I am trying to return a combination of features from multiple queries. The result returned by this function needs to be of the type IFeatureSet, and the only class that I know of that I can actually add features to is FeatureCollectionTable. First, I do: FeatureCollectiontable result = new FeatureCollectionTable(queryResult); but when I look at result in the debugger, it has all the features in it, but the attribute values are all null with the exception of the ObjectID. I get the same result when I try to add a feature or multiple features with AddFeatureAsync/AddFeaturesAsync.

I was using 100.4 and I tried it again with 100.5, but it still is not working. Is this a bug, or am I missing something?

Thanks,

Keith

0 Kudos
0 Replies