Decorator.GetHostShape Method

Gets the host shape.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'宣言
Public Overridable Function GetHostShape ( _
    rootShape As ShapeElement _
) As DecoratorHostShape
'使用
Dim instance As Decorator
Dim rootShape As ShapeElement
Dim returnValue As DecoratorHostShape

returnValue = instance.GetHostShape(rootShape)
public virtual DecoratorHostShape GetHostShape(
    ShapeElement rootShape
)
public:
virtual DecoratorHostShape^ GetHostShape(
    ShapeElement^ rootShape
)
public function GetHostShape(
    rootShape : ShapeElement
) : DecoratorHostShape

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.DecoratorHostShape

The host shape.

Permissions

See Also

Reference

Decorator Class

Decorator Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace