ArcObjects Library Reference (Geoprocessing)  

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