GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoGeneralNode Class / InsertLeftPort Method
if beyond the number of ports, adds it at the end
In This Topic
    InsertLeftPort Method
    In This Topic
    Insert a GoGeneralNodePort created by a call to MakePort to be at a particular index position on the left side of this node.
    Syntax
    public virtual void InsertLeftPort( 
       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 true, and sets GoGeneralNodePort.SideIndex to the index i.
    See Also