PresentationHelpers::CreateIShape Method (ShapeElement^, ShapeField^, ShapeSubField^)
Visual Studio 2015
Wrap a ShapeElement from the underlying implementation so that it can be used as a UML modeling IShape. This does not construct or modify a shape. Instead, it provides a convenient reference to an existing shape, or a field within a shape.
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
public: [ExtensionAttribute] static IShape^ CreateIShape( ShapeElement^ shape, ShapeField^ field = null, ShapeSubField^ subfield = null )
Parameters
- shape
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::ShapeElement^
The ShapeElement to wrap.
- field
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::ShapeField^
May be omitted.
- subfield
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::ShapeSubField^
May be omitted.
Return Value
Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation::IShape^For more information, see:
Show: