PresentationHelpers::GetSelectedShapes<T> Method (IDiagram^)

 

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)

public:
generic<typename T>
where T : IElement
[ExtensionAttribute]
static IEnumerable<IShape<T>^>^ GetSelectedShapes(
	IDiagram^ diagram
)

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:

Return to top
Show: