GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoMultiTextNode Class / FindPortIndex Method
In This Topic
    FindPortIndex Method
    In This Topic
    Given a "port" object, find the item index whose GetLeftPort or GetRightPort returns that object.
    Syntax
    public virtual int FindPortIndex( 
       GoObject p
    )

    Parameters

    p

    Return Value

    -1 if p is null or is not found amongst the LeftPorts or the RightPorts.
    Remarks
    This does not search the ListGroup.
    See Also