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


INASolverSettings2.AttributeParameterValue Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

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 Snippets

Set Solver Properties | Statements - Set Solver Properties

.NET Samples

ArcGIS Network Analyst extension Engine application (Code Files: frmNALayerProperties) | Subset network evaluators (Code Files: SubsetHelperUI)