GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoPort Class / AddSourceLink Method
In This Topic
    AddSourceLink Method (GoPort)
    In This Topic
    Add a link to this port's collection of connected links, making sure the link's ToPort is this port so that the link is a connection from another source port.
    Syntax
    public virtual void AddSourceLink( 
       IGoLink link
    )

    Parameters

    link
    Remarks
    If the link is actually added to this port's collection of links, this will call OnLinkChanged to allow the port to update itself. For example, this may be useful to change the appearance of the port as the number of connected links changes.
    See Also