Miner.Geodatabase.Edit Namespace > INetworkConnect Interface : DisconnectFeature Method |
'Declaration
Sub DisconnectFeature( _ ByVal feature As ESRI.ArcGIS.Geodatabase.IFeature _ )
'Usage
Dim instance As INetworkConnect Dim feature As ESRI.ArcGIS.Geodatabase.IFeature instance.DisconnectFeature(feature)
void DisconnectFeature( ESRI.ArcGIS.Geodatabase.IFeature feature )
procedure DisconnectFeature( feature: ESRI.ArcGIS.Geodatabase.IFeature );
function DisconnectFeature( feature : ESRI.ArcGIS.Geodatabase.IFeature );
void DisconnectFeature( ESRI.ArcGIS.Geodatabase.IFeature* feature )
void DisconnectFeature( ESRI.ArcGIS.Geodatabase.IFeature^ feature )
void DisconnectFeature(IFeature feature) { if (Editor.EditState != EditState.StateEditing) throw new InvalidOperationException("You must be editing to disconnect a feature."); var connect = new ConnectElectric(); Editor.StartOperation(); connect.DisconnectFeature(feature); Editor.StopOperation("Disconnect 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