PresentationHelpers::GetSelectedShapes<T> Method (IDiagram^)
Visual Studio 2015
Get all the selected shapes that display UML model elements of the specified type.
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
public: generic<typename T> where T : IElement [ExtensionAttribute] static IEnumerable<IShape<T>^>^ GetSelectedShapes( IDiagram^ diagram )
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.
For more information, see:
Show: