GoDiagram Win Reference
GetOtherNode(IGoLink,IGoNode) Method

an IGoLink
an IGoNode that the link l is connected to
Return the IGoNode connected to the other end of an IGoLink.
Syntax
'Declaration
 
Public Overloads Shared Function GetOtherNode( _
   ByVal l As IGoLink, _
   ByVal n As IGoNode _
) As IGoNode
public static IGoNode GetOtherNode( 
   IGoLink l,
   IGoNode n
)

Parameters

l
an IGoLink
n
an IGoNode that the link l is connected to

Return Value

An IGoNode, that may be null if the other end of the link is not connected or whose port may not be part of a node, or that may return the same n if both ends of the link are connected to the same node, even if at different ports.
Remarks
If neither this link's FromPort nor its ToPort is part of the given node n, this will return null.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoLink Class
GoLink Members
Overload List

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback