GoDiagram Web Reference
Remove Method (GoLayer)

Make sure this layer no longer holds an object.
Syntax
'Declaration
 
Public Function Remove( _
   ByVal obj As GoObject _
) As Boolean
public bool Remove( 
   GoObject obj
)

Parameters

obj
Remarks
It is an error if the object obj currently belongs to a different layer. If the object already is not in this layer, this method does nothing. Just before changing the object's GoObject.Layer property to null, the object's document or view will be notified with a Changed hint of RemovedObject. During that notification the object's GoObject.BeingRemoved property will be true. For convenience, if the object belongs to a GoGroup, this method will remove the object from the group.
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

GoLayer Class
GoLayer Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback