GoDiagram Web Reference
FindCommonParent Method

Find the GoGroup that is closest parent group for this object and another.
Syntax
'Declaration
 
Public Shared Function FindCommonParent( _
   ByVal a As GoObject, _
   ByVal b As GoObject _
) As GoObject
public static GoObject FindCommonParent( 
   GoObject a,
   GoObject b
)

Parameters

a
b

Return Value

This will return null if either argument is null or if there is no parent group that contains both objects. If a is the same object as b, it will return it. If a is a parent of b, it will return a. If b is a parent of a, it will return b.
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

GoObject Class
GoObject Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback