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


INetSchemaEdit.AddElementClass Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetSchemaEdit Interface > INetSchemaEdit.AddElementClass Method
ArcGIS Developer Help

INetSchemaEdit.AddElementClass Method

Adds a new element class to the network.

[Visual Basic .NET]
Public Function AddElementClass ( _
    ByVal UserClassID As Integer _
) As INetElementClass
[C#]
public INetElementClass AddElementClass (
    int UserClassID
);
[C++]
HRESULT AddElementClass(
  long UserClassID
);
[C++]
Parameters
UserClassID [in]

UserClassID is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

AddElementClass adds a new element class to the network.  Use this method only to add a new class to a newly created stand-alone logical network that does not have any topology.

See Also

INetSchemaEdit Interface