NetworkAnalyst. How tio add new X,Y location

Discussion created by bum3 on Jan 16, 2014

I need to add new location (X,Y) to incidents (facilities) (Network analyst - ClosestFacilitySolver).
How to do it?

Sample in SDK is not acceptable, i don't use featureClass for initialiing locations.
IFeatureCursor featureCursor = inputFC.Search(null, true);
            classLoader.Load((ICursor)featureCursor, null, ref rowsIn, ref rowsLocated);

Location of Incidents(Facilities)  will be dynamically change