共用方式為


ConnectorDecorator.ConfigureHostShape Method

Configures a host shape for use with this decorator. If the given parent does not have a host shape for this decorator, a new one will be created. If a host shape already exists, settings for this decorator will be re-applied to the existing host shape; a new host shape will not be created.

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

Syntax

'宣告
Public Overrides Function ConfigureHostShape ( _
    parent As ShapeElement _
) As DecoratorHostShape
public override DecoratorHostShape ConfigureHostShape(
    ShapeElement parent
)
public:
virtual DecoratorHostShape^ ConfigureHostShape(
    ShapeElement^ parent
) override
abstract ConfigureHostShape : 
        parent:ShapeElement -> DecoratorHostShape 
override ConfigureHostShape : 
        parent:ShapeElement -> DecoratorHostShape 
public override function ConfigureHostShape(
    parent : ShapeElement
) : DecoratorHostShape

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.DecoratorHostShape

.NET Framework Security

See Also

Reference

ConnectorDecorator Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace