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


INASolverSettings2.AttributeParameterValue Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INASolverSettings2 Interface > INASolverSettings2.AttributeParameterValue Property
ArcGIS Developer Help

INASolverSettings2.AttributeParameterValue Property

The value to use for an attribute parameter within the network dataset.

[Visual Basic .NET]
Public Function get_AttributeParameterValue ( _
    ByVal AttributeName As String, _
    ByVal paramName As String _
) As Object
[Visual Basic .NET]
Public Sub set_AttributeParameterValue ( _
    ByVal AttributeName As String, _
    ByVal paramName As String, _
    ByVal Value As Object _
)
[C#]
public object get_AttributeParameterValue (
    string AttributeName,
    string paramName
);
[C#]
public void set_AttributeParameterValue (
    string AttributeName,
    string paramName,
    object Value
);
[C++]
HRESULT get_AttributeParameterValue(
  BSTR AttributeName,
  BSTR paramName,
  Variant* Value
);
[C++]
HRESULT put_AttributeParameterValue(
  BSTR AttributeName,
  BSTR paramName,
  VARIANT Value
);
[C++]
Parameters
AttributeName [in]

AttributeName is a parameter of type BSTR paramName [in]
paramName is a parameter of type BSTR Value [out, retval]
Value is a parameter of type VARIANT* AttributeName [in]
AttributeName is a parameter of type BSTR paramName [in]
paramName is a parameter of type BSTR Value [in]
Value is a parameter of type VARIANT

Product Availability

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

Remarks

The AttributeParameterValue property specifies the value to use for the network attribute's parameter specified.

It is necessary to pass in a network attribute name and parameter name that exists on the network dataset referenced by the solver.

This value will be passed to the NetworkDataset when INASolver::Solve is executed.

 

See Also

INASolverSettings2 Interface

.NET Samples

ArcGIS Network Analyst extension Engine application Subset network evaluators