ArcObjects Library Reference (GeoDatabase)  

IGraph.Add Method

Adds the preexisting Feature to the graph.

[Visual Basic .NET]
Public Sub Add ( _
    ByVal NewFeature As IFeature _
)
[C#]
public void Add (
    IFeature NewFeature
);
[C++]
HRESULT Add(
  IFeature* NewFeature
);
[C++]

Parameters

NewFeature [in]

  NewFeature is a parameter of type IFeature

Product Availability

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

Remarks

The IGraph:Add method is meant for internal use only. 

There is no need to call INetworkFeature::CreateNetworkElements or INetworkFeature::Connect as these are handled internally by IFeature::Store

See Also

IGraph Interface