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


INAODCostMatrix.PopulatedDestinationCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAODCostMatrix Interface > INAODCostMatrix.PopulatedDestinationCount Property
ArcGIS Developer Help

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,
  System.Int32* 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