Repairing disconnected layers with selection sets using ArcObjects?

المشرف العام

Administrator
طاقم الإدارة
Has anyone had any success of repairing disconnected layers that have selection sets that have their data sources broken in ArcGIS? Is there a way to detect this through code and then re-create that selection set?

I tried:

IFeatureLayerDefinition.DefinitionSelectionSet.Countand

IFeatureSelection.SelectionSet.Countof which just give an "Object reference not set to an instance of an object" error.

We are on version 10.0 and code in VB.NET or C#.



أكثر...
 
أعلى