Original User: jwickstrom
Hello Larry,
My guess is you need to check the stop type before accessing this property or casting the value to IALOrder. Something like:
pALStop2 = pALStops.get_Item(k) as IALStop;
if (pALStop2.StopType != esriALStopType.esriStopOrder)
continue;
(from the CheckTripRequests.sln sample)
Jeff