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


IMdModel.DisconnectElements Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IM > IMdModel Interface > IMdModel.DisconnectElements Method
ArcGIS Developer Help

IMdModel.DisconnectElements Method

Removes the connection/dependency between two model elements.

[Visual Basic .NET]
Public Sub DisconnectElements ( _
    ByVal pFromElement As IMdElement, _
    ByVal pToElement As IMdElement, _
    ByVal ConnectionType As esriMdConnectionType _
)
[C#]
public void DisconnectElements (
    IMdElement pFromElement,
    IMdElement pToElement,
    esriMdConnectionType ConnectionType
);
[C++]
HRESULT DisconnectElements(
  IMdElement* pFromElement,
  IMdElement* pToElement,
  esriMdConnectionType ConnectionType
);
[C++]
Parameters
pFromElement [in]

pFromElement is a parameter of type IMdElement* pToElement [in]
pToElement is a parameter of type IMdElement* ConnectionType [in]
ConnectionType is a parameter of type esriMdConnectionType

Product Availability

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

See Also

IMdModel Interface