Click or drag to resize

VisualDisconnect Method

Disconnect any connections on the supplied connector name.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public virtual void Disconnect(
	string connectorName
)

Parameters

connectorName
Type: SystemString
The name of the connector to remove all connections for.
Examples
C#
[Auto] void OnReset(Visual sender)
{
    // This example ensures that the visual has no connections
    // on its Start and End connectors upon reset.
    sender.Disconnect("Start");
    sender.Disconnect("End");
}
See Also