This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetSchemaEdit Interface > INetSchemaEdit.AddElementClass Method (ArcObjects .NET 10.4 SDK) |
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,
INetElementClass** ElementClass
);
[C++]
Parameters UserClassID [in] UserClassID is a parameter of type long ElementClass [out, retval]
ElementClass is a parameter of type INetElementClass
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.