PresentationHelpers.SelectShapes Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.VisualStudio.Uml.Presentation
Assembly: Microsoft.VisualStudio.Uml.Extensions (in Microsoft.VisualStudio.Uml.Extensions.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Sub SelectShapes ( _
diagram As IDiagram, _
ParamArray shapes As IShape() _
)
'Usage
Dim diagram As IDiagram
Dim shapes As IShape()
diagram.SelectShapes(shapes)
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
- diagram
Type: Microsoft.VisualStudio.Uml.Presentation.IDiagram
- shapes
Type: array<Microsoft.VisualStudio.Uml.Presentation.IShape[]
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).
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.