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


IGPNALayer.AddClassDefinition Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IG > IGPNALayer Interface > IGPNALayer.AddClassDefinition Method
ArcGIS Developer Help

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