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


INAContextEdit.CreateAnalysisClass Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAContextEdit.CreateAnalysisClass Method

Create a new analysis class based upon the given class definition.

[Visual Basic .NET]
Public Function CreateAnalysisClass ( _
    ByVal classDef As INAClassDefinition _
) As INAClass
[C#]
public INAClass CreateAnalysisClass (
    INAClassDefinition classDef
);
[C++]
HRESULT CreateAnalysisClass(
  INAClassDefinition* classDef,
  INAClass** NAClass
);
[C++]

Parameters classDef [in]
classDef is a parameter of type INAClassDefinition NAClass [out, retval]
NAClass is a parameter of type INAClass

Product Availability

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

Remarks

CreateAnalysisClass creates a new NAClass based on the INAClassDefinition that will be managed by the NAContext.

See Also

INAContextEdit Interface