This document is archived and information here might be outdated. Recommended version. |
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*
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.