NAAttributeParameterValue

A class that contains the network attribute parameter value to apply at solve time.

Property

Type

Description

AttributeName

string

The network attribute name.

ParameterName

string

The network attribute's parameter name.

Value

object

The value to use for the network attribute parameter.

VarType

long

The VARTYPE (Variant Type) of the network attribute parameter.

Remarks

Attribute parameter values are used in conjunction with network attributes that have parameters defined on them to dynamically affect the attribute value returned. For example, a height restriction network attribute may need a vehicle height parameter value specified to know if the street is restricted or not.

The VarType number should correspond to the appropriate type:

0: Empty

1: Null

2: Integer

3: Long

4: Single

5: Double

6: Currency

7: Date

8: String

9: Object reference

10: Error

11: Boolean

12: Variant

13: Data access object

14: Decimal

17: Byte

8192: Array

10/23/2013