Retrieves the cost values of all cost attributes for the given origin and destination.
[Visual Basic .NET] Public Sub QueryValues ( _ ByVal originIndex As Integer, _ ByVal destinationIndex As Integer, _ ByVal values As IDoubleArray _ )
[C#] public void QueryValues ( int originIndex, int destinationIndex, IDoubleArray values );
[C++]
HRESULT QueryValues(
long originIndex,
long destinationIndex,
IDoubleArray* values
);
[C++]Parameters
originIndex [in] originIndex is a parameter of type long destinationIndex [in] destinationIndex is a parameter of type long values [in, out]values is a parameter of type IDoubleArray
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.
Remarks
QueryValues populates an IDoubleArray with the values of all associated cost attributes for a given origin and destination. Each value is the total accumulated cost of travel along the network dataset from the origin to the destination for a specific cost attribute.