PresentationHelpers::Shapes Method (IElement^, IDiagram^)
Visual Studio 2015
All the shapes that display the model element on any open diagram, or on a specified open diagram.
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
public: [ExtensionAttribute] static IEnumerable<IShape^>^ Shapes( IElement^ element, IDiagram^ diagram = null )
Parameters
- element
- Type: Microsoft.VisualStudio.Uml.Classes::IElement^
- diagram
-
Type:
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation::IDiagram^
Omit to find shapes on all diagrams.
Return Value
Type: System.Collections.Generic::IEnumerable<IShape^>^For more information, see:
Show: