Decorator.GetHostShape Method
Gets the host shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
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.ShapeElement
The 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.