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


IGPNALayer.AddClassDefinition Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

IGPNALayer.AddClassDefinition Method

Adds class definition for sublayer.

[Visual Basic .NET]
Public Sub AddClassDefinition ( _
    ByVal classDef As INAClassDefinition _
)
[C#]
public void AddClassDefinition (
    INAClassDefinition classDef
);
[C++]
HRESULT AddClassDefinition(
  INAClassDefinition* classDef
);
[C++]

Parameters classDef [in]
classDef is a parameter of type INAClassDefinition

Product Availability

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

See Also

IGPNALayer Interface