GoDiagram Web Reference
Add Method (GoSelection)

Add an object to this selection.
Syntax
'Declaration
 
Public Overrides Sub Add( _
   ByVal obj As GoObject _
) 
public override void Add( 
   GoObject obj
)

Parameters

obj
Remarks
If the obj is already part of this selection, nothing happens. Otherwise this method calls GoObject.OnGotSelection and raises the ObjectGotSelection event by calling GoView.RaiseObjectGotSelection. No notifications occur if there is no View for this selection. If adding an object would increase the GoCollection.Count beyond the GoView.MaximumSelectionCount, this collection is not augmented.
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

GoSelection Class
GoSelection Members
Base Implementation in Add
Remove Method
Contains Method

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback