This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAODCostMatrix Interface > INAODCostMatrix.QueryPopulatedDestinationIndices Method (ArcObjects .NET 10.5 SDK) |
For a given origin, retrieves the indices of populated destinations.
[Visual Basic .NET] Public Sub QueryPopulatedDestinationIndices ( _ ByVal originIndex As Integer, _ ByVal destinationIndices As ILongArray _ )
[C#] public void QueryPopulatedDestinationIndices ( int originIndex, ILongArray destinationIndices );
[C++]
HRESULT QueryPopulatedDestinationIndices(
long originIndex,
ILongArray* destinationIndices
);
[C++]
Parameters originIndex [in] originIndex is a parameter of type long destinationIndices [in, out]
destinationIndices is a parameter of type ILongArray
For a given origin (passed in by index), QueryPopulatedDestinationIndices retrieves the indices of the populated destinations in an ILongArray. "Populated destinations" are the destinations for which a valid network path from the specified origin to the specified destination has been determined.
An origin's index can be retrieved via the FindOriginIndex method.