GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoLabeledLink Class / GetOtherPort Method
In This Topic
    GetOtherPort Method (GoLabeledLink)
    In This Topic
    Return the port at the other end of this link from the given port.
    Syntax
    public IGoPort GetOtherPort( 
       IGoPort p
    )

    Parameters

    p

    Return Value

    An IGoPort, that may be null if the other end of the link is not connected, or that may return the same p if both ends of the link are connected to the same port.
    See Also