GoDiagram Web Reference
ValidPortsCache Property

Gets the hashtable of all known ports that are valid for this particular linking operation.
Syntax
'Declaration
 
Public Property ValidPortsCache As Dictionary(Of IGoPort,Object)
public Dictionary<IGoPort,object> ValidPortsCache {get; set;}
Remarks
This collection is initially empty for each linking operation. As the PickNearestPort method is called, the port is added to this collection, with a value depending on whether IsValidLink returns true. The value is Valid if it returned true, Invalid if it returned false. The cacheing is done because the computation to determine valid links can be expensive. You can turn off the cacheing by setting this property to 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

GoToolLinking Class
GoToolLinking Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback