This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGraph Interface > IGraph.Init Method (ArcObjects .NET 10.4 SDK) |
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 VARIANT_BOOL createGraph [in] createGraph is a parameter of type VARIANT_BOOL
The IGraph::Init method is called internally during the process of creating a Geometric Network and should be called independently.