Compartir a través de


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

'Declaración
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

  • 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

Microsoft.VisualStudio.Modeling.Shell Namespace