INetworkAttributeParameter Interface

Provides access to members that specify the properties of a parameter of a network attribute.

Members

Name Description
Read/write property DefaultValue The default value of the parameter.
Read/write property Name The name of the parameter.
Read/write property ParameterUsageType The usage type of the parameter.
Read/write property Value The current value of the parameter.
Read/write property VarType The VARTYPE of the parameter (e.g. VT_​I4).

INetworkAttributeParameter.DefaultValue Property

The default value of the parameter.

Public Property DefaultValue As Object
public object DefaultValue {get; set;}

Remarks

The DefaultValue property is the parameter value stored in the NetworkDataset that should be be used to initialize the Value property. The variant type of the parameter is based off the DefaultValue's variant type.

INetworkAttributeParameter.Name Property

The name of the parameter.

Public Property Name As String
public string Name {get; set;}

Remarks

The Name is the name of the parameter. This name must be unique among all of the parameters of a network attribute.

INetworkAttributeParameter.ParameterUsageType Property

The usage type of the parameter.

Public Property ParameterUsageType As esriNetworkAttributeParameterUsageType
public esriNetworkAttributeParameterUsageType ParameterUsageType {get; set;}

INetworkAttributeParameter.Value Property

The current value of the parameter.

Public Property Value As Object
public object Value {get; set;}

Remarks

The Value property is the parameter value that should be used by the attribute and evaluators during analysis time. This is the run-time value for the parameter.

INetworkAttributeParameter.VarType Property

The VARTYPE of the parameter (e.g. VT_I4).

Public Property VarType As Integer
public int VarType {get; set;}

Classes that implement INetworkAttributeParameter

Classes Description
NetworkAttributeParameter A container for describing a network attribute parameter.

Remarks

The INetworkAttributeParameter interface is used to specify the Name, DefaultValue, and Value of a parameter used by the network attribute.

The Name is the name of the parameter. This name must be unique among all of the parameters of a network attribute.

The DefaultValue property is the parameter value stored in the NetworkDataset that should be be used to initialize the Value property. The variant type of the parameter is based off the DefaultValue's variant type.

The Value property is the parameter value that should be used by the attribute and evaluators during analysis time. This is the run-time value for the parameter.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.