DiagramDocView.DoSelectObjects Method

Selects elements in the diagram view.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'Declaration
Protected Overrides Sub DoSelectObjects ( _
    count As UInteger, _
    objects As Object(), _
    flags As UInteger _
)
'Usage
Dim count As UInteger 
Dim objects As Object()
Dim flags As UInteger 

Me.DoSelectObjects(count, objects, _
    flags)
protected override void DoSelectObjects(
    uint count,
    Object[] objects,
    uint flags
)
protected:
virtual void DoSelectObjects(
    unsigned int count, 
    array<Object^>^ objects, 
    unsigned int flags
) override
protected override function DoSelectObjects(
    count : uint, 
    objects : Object[], 
    flags : uint
)

Parameters

  • 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

See Also

Reference

DiagramDocView Class

DiagramDocView Members

Microsoft.VisualStudio.Modeling.Shell Namespace