ArcObjects Library Reference (GeoDatabase)  

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,
  INetElementClass** ElementClass
);
[C++]

Parameters

UserClassID [in]   UserClassID is a parameter of type long ElementClass [out, retval]

  ElementClass is a parameter of type INetElementClass

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