This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGraph Interface > IGraph.AddFeatureClass Method (ArcObjects .NET 10.5 SDK) |
Add the FeatureClass to this graph.
[Visual Basic .NET] Public Sub AddFeatureClass ( _ ByVal FeatureClass As IFeatureClass, _ ByVal EnabledFieldName As String, _ ByVal Role As esriNetworkClassAncillaryRole, _ ByVal AncillaryRoleFieldName As String _ )
[C#] public void AddFeatureClass ( IFeatureClass FeatureClass, string EnabledFieldName, esriNetworkClassAncillaryRole Role, string AncillaryRoleFieldName );
[C++]
HRESULT AddFeatureClass(
IFeatureClass* FeatureClass,
BSTR EnabledFieldName,
esriNetworkClassAncillaryRole Role,
BSTR AncillaryRoleFieldName
);
[C++]
Parameters FeatureClass [in]
FeatureClass is a parameter of type IFeatureClass EnabledFieldName [in] EnabledFieldName is a parameter of type BSTR Role [in]
Role is a parameter of type esriNetworkClassAncillaryRole AncillaryRoleFieldName [in] AncillaryRoleFieldName is a parameter of type BSTR