RVTDocs.com

ConnectorElement.SetLinkedConnectorElement

Method
Description:
Set the linked connector element.
Remarks:
Set the linked connector to null to remove the link.
Syntax
public void SetLinkedConnectorElement(
	ConnectorElement otherConnector
)
Parameters
Parameter Type Description
otherConnector ConnectorElement The connector to link to.
Return Value
Exceptions
Exception Condition
ArgumentException The connector being linked to is a different domain than that of the calling connector. -or- The connector being linked to is the same as the calling connector.
InvalidOperationException This connector type does not support linked connectors.