GoDiagram Web Reference
Remove Method (GoObject)

This convenience method just removes this object from its container, if there is any.
Syntax
'Declaration
 
Public Sub Remove() 
public void Remove()
Remarks
This is implemented as:
              GoLayer layer = this.Layer;
              if (layer != null) {
                layer.Remove(this);
              } else {
                GoGroup parent = this.Parent;
                if (parent != null)
                  parent.Remove(this);
              }
            
Removing an object from a layer also removes it from its parent group, if any.
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