This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAODCostMatrix Interface > INAODCostMatrix.DefaultValue Property (ArcObjects .NET 10.4 SDK) |
The value returned for un-populated matrix enteries.
[Visual Basic .NET] Public Function get_DefaultValue ( _ ByVal attributeIndex As Integer _ ) As Double
[C#] public double get_DefaultValue ( int attributeIndex );
[C++]
HRESULT get_DefaultValue(
long attributeIndex,
double* Value
);
[C++]
Parameters attributeIndex [in] attributeIndex is a parameter of type long Value [out, retval] Value is a parameter of type double
Returns the default value for a specified cost attribute. The cost attribute index is specified with respect to the array of cost attribute names associated with the matrix object. This is the value returned by the INAODCostMatrix.Value method for unpopulated matrix entries.