GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoGroup Class / Remove Method / Remove(GoObject) Method
In This Topic
    Remove(GoObject) Method
    In This Topic
    Remove an object from this group.
    Syntax
    public virtual bool Remove( 
       GoObject obj
    )

    Parameters

    obj
    Remarks
    The obj must not belong to a different group. This method does nothing if the obj has already been removed from this group. Afterwards, the obj's GoObject.Parent will be null and its GoObject.GoObject.Layer will also be null, because it will be removed from the layer if the group and it belonged to a layer.
    See Also