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


IGraph.Init Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGraph Interface > IGraph.Init Method
ArcGIS Developer Help

IGraph.Init Method

Initializes the graph.

[Visual Basic .NET]
Public Sub Init ( _
    ByVal Dataset As IFeatureDataset, _
    ByVal graphID As Integer, _
    ByVal graphName As String, _
    ByVal buildNormalizedTables As Boolean, _
    ByVal createGraph As Boolean _
)
[C#]
public void Init (
    IFeatureDataset Dataset,
    int graphID,
    string graphName,
    bool buildNormalizedTables,
    bool createGraph
);
[C++]
HRESULT Init(
  IFeatureDataset* Dataset,
  long graphID,
  BSTR graphName,
  VARIANT_BOOL buildNormalizedTables,
  VARIANT_BOOL createGraph
);
[C++]
Parameters
Dataset [in]

Dataset is a parameter of type IFeatureDataset* graphID [in]
graphID is a parameter of type long graphName [in]
graphName is a parameter of type BSTR buildNormalizedTables [in]
buildNormalizedTables is a parameter of type bool createGraph [in]
createGraph is a parameter of type bool

Product Availability

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

Remarks

The IGraph::Init method is called internally during the process of creating a Geometric Network and should be called independently.

See Also

IGraph Interface