Bagikan melalui


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

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.DecoratorHostShape
The host shape.

.NET Framework Security

See Also

Reference

Decorator Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace