GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoPort Class / IsInSameNode Method / IsInSameNode(IGoPort,IGoPort) Method
In This Topic
    IsInSameNode(IGoPort,IGoPort) Method
    In This Topic
    This static method determines if both arguments belong to the same IGoNode.
    Syntax
    public static bool IsInSameNode( 
       IGoPort a,
       IGoPort b
    )

    Parameters

    a
    b

    Return Value

    True if both ports are part of the same IGoNode. If the ports are not part of an IGoNode (but only contained by a GoGroup), their GoObject.TopLevelObjects are compared instead.
    See Also