GoDiagram Win Reference
IsValidLink Method (GoPort)

True if it is valid to create a link from this port to toPort.
Syntax
'Declaration
 
Public Overridable Function IsValidLink( _
   ByVal toPort As IGoPort _
) As Boolean
public virtual bool IsValidLink( 
   IGoPort toPort
)

Parameters

toPort
Remarks

By default this is true when toPort is not the same as this port, CanLinkFrom is true, and CanLinkTo is true for the toPort port. Furthermore, this considers the IsValidSelfNode, the IsValidDuplicateLinks, and the ValidCycle properties.

This is called by GoToolLinkingNew.GoToolLinking.IsValidLink and GoToolRelinking.GoToolLinking.IsValidLink.

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

GoPort Class
GoPort Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback