Hi,
I’ve just upgraded to version 9 recently and one of the changes is related to feature source columns being eventually deprecated for feature layer. I don’t see any notes on what this will actually mean when it happens…
When I pass a feature layer to another procedure to process it, I can see the feature source columns in it by mouse over the object; however, when I try to return the columns using
fl.FeatureSource.GetColumns()
the return is an empty list. What is more if I mouse over the object after calling this method, I find the columns that were listed before are now gone!
My main issue with this is that feature class doesn’t support anything other than string for column values and I need to be able to write out shapefiles with specific types like integer, double, datetime. If I can’t get feature source column from the feature source anymore, how do I do it?
Regards,
Damian