Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
public static void SelectShapes(
    this IDiagram diagram,
    params IShape[] shapes
)
public:
[ExtensionAttribute]
static void SelectShapes(
    IDiagram^ diagram,
    ... array<IShape^>^ shapes
)
static member SelectShapes : 
        diagram:IDiagram *
        [<ParamArrayAttribute>] shapes:IShape[] -> unit
<ExtensionAttribute>
Public Shared Sub SelectShapes (
    diagram As IDiagram,
    ParamArray shapes As IShape()
)
Parameters
- shapes 
 Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation.IShape[]- The shapes to select. 
Remarks
For more information, see:
See Also
PresentationHelpers Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation Namespace
Return to top