IShape Methods
Visual Studio 2015
Namespace:
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
| Name | Description | |
|---|---|---|
![]() | Delete() | Removes the shape from the diagram. This might or might not remove from the model the element that the shape displays. For example, removing a class shape from a class diagram does not remove the UML class from the model. |
![]() | GetObject<T>() | Gets the model element represented by this shape. Supply the type of the result that you want. |
![]() | Move(Double, Double, Double, Double) | Changes the position and size of the shape. |
![]() | ToIShape<T>() | Cast to a type that specifies the type of the element that the shape represents. |
| Name | Description | |
|---|---|---|
![]() | GetChildShapes<T>() | Get child shapes that display the specified type of model element.(Defined by PresentationHelpers.) |
![]() | GetElement() | The model element that this shape represents.(Defined by IShapeExtensions.) |
Show:
