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.IsPopulated Property (ArcObjects .NET 10.5 SDK) |
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,
VARIANT_BOOL* 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 VARIANT_BOOL
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.