RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Connector

Connector.DisconnectFrom

Method
Description:
Remove connection between two connectors.
Syntax
public void DisconnectFrom(
	Connector connector
)
Parameters
Parameter Type Description
connector Connector Indicate the connector, connection will be removed from.
Return Value
Exceptions
Exception Condition
ArgumentNullException Thrown when argument is.
ArgumentException Argument is invalid.
InvalidOperationException Thrown when no connection between these two connector. Thrown on failure to remove the connection between these two connectors.