GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoGeneralNode Class / InsertRightPort Method
if beyond the number of ports, adds it at the end
In This Topic
    InsertRightPort Method
    In This Topic
    Insert a GoGeneralNodePort created by a call to MakePort to be at a particular index position on the right side of this node.
    Syntax
    public virtual void InsertRightPort( 
       int i,
       GoGeneralNodePort p
    )

    Parameters

    i
    if beyond the number of ports, adds it at the end
    p
    Remarks
    This also adds the port's GoGeneralNodePort.Label to the node. This sets GoGeneralNodePort.LeftSide to false, and sets GoGeneralNodePort.SideIndex to the index i.
    See Also