This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IM > IMdModel Interface > IMdModel.DisconnectElements Method (ArcObjects .NET 10.4 SDK) |
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