Share via


ModelingWindowPane.DoSelectObjects Method

When implemented in a derived class, selects elements in the window pane.

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

Syntax

'Declaration
Protected Overridable Sub DoSelectObjects ( _
    count As UInteger, _
    objects As Object(), _
    flags As UInteger _
)
protected virtual void DoSelectObjects(
    uint count,
    Object[] objects,
    uint flags
)
protected:
virtual void DoSelectObjects(
    unsigned int count, 
    array<Object^>^ objects, 
    unsigned int flags
)
abstract DoSelectObjects : 
        count:uint32 * 
        objects:Object[] * 
        flags:uint32 -> unit  
override DoSelectObjects : 
        count:uint32 * 
        objects:Object[] * 
        flags:uint32 -> unit
protected function DoSelectObjects(
    count : uint, 
    objects : Object[], 
    flags : uint
)

Parameters

  • objects
    Type: array<System.Object[]

    The collection of elements to select.

  • flags
    Type: System.UInt32

    Flag that modifies the selection. If set to SELOBJS_ACTIVATEWINDOW, this parameter activates the window that contains the selected objects.

Remarks

Derived classes should override this method to support selection with the SelectObjects method.

For instance, the drop-down box above the Visual Studio property browser and automation use this mechanism.

.NET Framework Security

See Also

Reference

ModelingWindowPane Class

Microsoft.VisualStudio.Modeling.Shell Namespace