DiagramDocView.DoSelectObjects Method
Selects elements in the diagram view.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Déclaration
Protected Overrides Sub DoSelectObjects ( _
count As UInteger, _
objects As Object(), _
flags As UInteger _
)
protected override void DoSelectObjects(
uint count,
Object[] objects,
uint flags
)
protected:
virtual void DoSelectObjects(
unsigned int count,
array<Object^>^ objects,
unsigned int flags
) override
abstract DoSelectObjects :
count:uint32 *
objects:Object[] *
flags:uint32 -> unit
override DoSelectObjects :
count:uint32 *
objects:Object[] *
flags:uint32 -> unit
protected override function DoSelectObjects(
count : uint,
objects : Object[],
flags : uint
)
Parameters
- count
Type: System.UInt32
The number of elements to select.
- objects
Type: array<System.Object[]
The collection of elements to select.
- flags
Type: System.UInt32
The flags that modify the selection. If this parameter is set to SELOBJS_ACTIVATEWINDOW, the window with the selected objects should be activated.
Remarks
The selection does not include non-shape elements.
This method invokes ISelectionContainer.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.