GoDiagram Web Reference
FindPortIndex Method

Given a "port" object, find the item index whose GetLeftPort or GetRightPort returns that object.
Syntax
'Declaration
 
Public Overridable Function FindPortIndex( _
   ByVal p As GoObject _
) As Integer
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.
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

GoMultiTextNode Class
GoMultiTextNode Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback