Miner.Geodatabase.Edit Namespace > INetworkConnect Interface : ConnectFeature Method |
'Declaration
Sub ConnectFeature( _ ByVal feature As ESRI.ArcGIS.Geodatabase.IFeature _ )
'Usage
Dim instance As INetworkConnect Dim feature As ESRI.ArcGIS.Geodatabase.IFeature instance.ConnectFeature(feature)
void ConnectFeature( ESRI.ArcGIS.Geodatabase.IFeature feature )
procedure ConnectFeature( feature: ESRI.ArcGIS.Geodatabase.IFeature );
function ConnectFeature( feature : ESRI.ArcGIS.Geodatabase.IFeature );
void ConnectFeature( ESRI.ArcGIS.Geodatabase.IFeature* feature )
void ConnectFeature( ESRI.ArcGIS.Geodatabase.IFeature^ feature )
void ConnectFeature(IFeature feature) { if (Editor.EditState != EditState.StateEditing) throw new InvalidOperationException("You must be editing to connect a feature."); var connect = new ConnectElectric(); Editor.StartOperation(); connect.ConnectFeature(feature); Editor.StopOperation("Connect feature."); }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2