PresentationHelpers.SelectShapes Method

Select a collection of shapes on the diagram. The shapes must be selectable. The diagram's SelectedShapes property will be updated.

Namespace:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Sub SelectShapes ( _
    diagram As IDiagram, _
    ParamArray shapes As IShape() _
)
public static void SelectShapes(
    this IDiagram diagram,
    params IShape[] shapes
)
[ExtensionAttribute]
public:
static void SelectShapes(
    IDiagram^ diagram, 
    ... array<IShape^>^ shapes
)
static member SelectShapes : 
        diagram:IDiagram * 
        shapes:IShape[] -> unit
public static function SelectShapes(
    diagram : IDiagram, 
    ... shapes : IShape[]
)

Parameters

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDiagram. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Remarks

For more information, see:

.NET Framework Security

See Also

Reference

PresentationHelpers Class

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation Namespace