Decorator.GetHostShape Method
Gets the host shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Overridable Function GetHostShape ( _
rootShape As ShapeElement _
) As DecoratorHostShape
public virtual DecoratorHostShape GetHostShape(
ShapeElement rootShape
)
public:
virtual DecoratorHostShape^ GetHostShape(
ShapeElement^ rootShape
)
abstract GetHostShape :
rootShape:ShapeElement -> DecoratorHostShape
override GetHostShape :
rootShape:ShapeElement -> DecoratorHostShape
public function GetHostShape(
rootShape : ShapeElement
) : DecoratorHostShape
Parameters
rootShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe shape to which the host shape is assigned.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.DecoratorHostShape
The host shape.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.