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


INAODCostMatrix.IsPopulated 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.IsPopulated Property
ArcGIS Developer Help

INAODCostMatrix.IsPopulated Property

Indicates if the matrix entry for given origin, destination index is populated.

[Visual Basic .NET]
Public Function get_IsPopulated ( _
    ByVal originIndex As Integer, _
    ByVal destinationIndex As Integer _
) As Boolean
[C#]
public bool get_IsPopulated (
    int originIndex,
    int destinationIndex
);
[C++]
HRESULT get_IsPopulated(
  long originIndex,
  long destinationIndex,
  Boolean* IsPopulated
);
[C++]
Parameters
originIndex [in]

originIndex is a parameter of type long destinationIndex [in]
destinationIndex is a parameter of type long IsPopulated [out, retval]
IsPopulated is a parameter of type bool*

Product Availability

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

Remarks

Returns True if the matrix value for a particular origin and destination is populated. If the property returns False, then the matrix entry is unpopulated and the the default cost value will be returned when this entry is queried.

See Also

INAODCostMatrix Interface