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.
Get all the selected shapes that display UML model elements of the specified type.
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
Syntax
public static IEnumerable<IShape<T>> GetSelectedShapes<T>(
this IDiagram diagram
)
where T : IElement
public:
generic<typename T>
where T : IElement
[ExtensionAttribute]
static IEnumerable<IShape<T>^>^ GetSelectedShapes(
IDiagram^ diagram
)
static member GetSelectedShapes<'T when 'T : IElement> :
diagram:IDiagram -> IEnumerable<IShape<'T>>
<ExtensionAttribute>
Public Shared Function GetSelectedShapes(Of T As IElement) (
diagram As IDiagram
) As IEnumerable(Of IShape(Of T))
Parameters
Return Value
Type: System.Collections.Generic.IEnumerable<IShape<T>>
All the selected shapes in the diagram that display a UML model element of the specified type or one of its subtypes.
Type Parameters
- T
IElement or one of its subtypes.
Remarks
For more information, see:
See Also
PresentationHelpers Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation Namespace
Return to top