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


IGPNAHierarchySettings.MaxValueForHierarchy Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

IGPNAHierarchySettings.MaxValueForHierarchy Property

The maximum value for a hierarchy level.

[Visual Basic .NET]
Public Function get_MaxValueForHierarchy ( _
    ByVal level As Integer _
) As Integer
[Visual Basic .NET]
Public Sub set_MaxValueForHierarchy ( _
    ByVal level As Integer, _
    ByVal Value As Integer _
)
[C#]
public int get_MaxValueForHierarchy (
    int level
);
[C#]
public void set_MaxValueForHierarchy (
    int level,
    int Value
);
[C++]
HRESULT get_MaxValueForHierarchy(
  long level,
  long* Value
);
[C++]
HRESULT put_MaxValueForHierarchy(
  long level,
  long Value
);
[C++]

Parameters level [in] level is a parameter of type long Value [out, retval] Value is a parameter of type long level [in] level is a parameter of type long Value [in] Value is a parameter of type long

Product Availability

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

Remarks

MaxValueForHierarchy is a set of numbers that specify how the hierarchy attribute of the network dataset is mapped to the hierarchy levels used by a network analyst solver. For example, the hierarchy attribute may have values of 1 through 7. If the solver supports three levels of hierarchy, then setting MaxValueForHierarchy as 2 and 4 will assign hierarchy attribute values of 1 and 2 to level 1, 3 and 4 to level 2 and greater then 4 to level 3.

See Also

IGPNAHierarchySettings Interface