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

    Parameters

    obj
    Remarks
    If the obj is not part of this selection, nothing happens. Otherwise this method calls GoObject.OnLostSelection and raises the GoView.ObjectLostSelection event by calling GoView.RaiseObjectLostSelection. The notification happens after the object has been removed from this selection. Removing the primary selection may cause another selected object to lose selection and then gain it back again as the primary selection. No notifications occur if there is no View for this selection.
    See Also