Share via


PresentationHelpers.CreateIShape Method (ShapeElement, ShapeField, ShapeSubField)

 

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.

Namespace:   Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Syntax

public static IShape CreateIShape(
    this ShapeElement shape,
    ShapeField field = null,
    ShapeSubField subfield = null
)
public:
[ExtensionAttribute]
static IShape^ CreateIShape(
    ShapeElement^ shape,
    ShapeField^ field = null,
    ShapeSubField^ subfield = null
)
static member CreateIShape : 
        shape:ShapeElement *
        field:ShapeField = null *
        subfield:ShapeSubField = null -> IShape
<ExtensionAttribute>
Public Shared Function CreateIShape (
    shape As ShapeElement,
    field As ShapeField,
    subfield As ShapeSubField
) As IShape

Parameters

Return Value

Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation.IShape

Remarks

For more information, see:

See Also

PresentationHelpers Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation Namespace

Return to top