GoDiagram Web Reference
DeleteSelection Method

The collection of objects to be deleted; if null, this view's Selection is used.
Delete a collection of objects.
Syntax
'Declaration
 
Public Overridable Sub DeleteSelection( _
   ByVal sel As GoSelection _
) 
public virtual void DeleteSelection( 
   GoSelection sel
)

Parameters

sel
The collection of objects to be deleted; if null, this view's Selection is used.
Remarks
This method heeds the CanDeleteObjects property if sel is this view's Selection, and it heeds each object's CanDelete property as well. All actions take place within a GoUndoManager.GoUndoManager.DeleteSelectionName transaction. This method also calls RaiseSelectionDeleting, RaiseSelectionStarting, RaiseSelectionFinished, and RaiseSelectionDeleted.
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

GoView Class
GoView Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback