This document is archived and information here might be outdated.  Recommended version.


INAODCostMatrix.PopulatedDestinationCount Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAODCostMatrix.PopulatedDestinationCount Property

For a given origin, retrieves the number of destinations with populated matrix values.

[Visual Basic .NET]
Public Function get_PopulatedDestinationCount ( _
    ByVal originIndex As Integer _
) As Integer
[C#]
public int get_PopulatedDestinationCount (
    int originIndex
);
[C++]
HRESULT get_PopulatedDestinationCount(
  long originIndex,
  long* Count
);
[C++]

Parameters originIndex [in] originIndex is a parameter of type long Count [out, retval] Count is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

For a given origin, it returns the number of destinations with populated matrix entries.  A matrix entry is populated for a destination if a network path has been found from the given origin to that destination.

See Also

INAODCostMatrix Interface