共用方式為


Decorator.ConfigureHostShape(ShapeElement) Method

Definition

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.

public:
 virtual Microsoft::VisualStudio::Modeling::Diagrams::DecoratorHostShape ^ ConfigureHostShape(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parent);
public virtual Microsoft.VisualStudio.Modeling.Diagrams.DecoratorHostShape ConfigureHostShape (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parent);
abstract member ConfigureHostShape : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> Microsoft.VisualStudio.Modeling.Diagrams.DecoratorHostShape
override this.ConfigureHostShape : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> Microsoft.VisualStudio.Modeling.Diagrams.DecoratorHostShape
Public Overridable Function ConfigureHostShape (parent As ShapeElement) As DecoratorHostShape

Parameters

parent
ShapeElement

Returns

Applies to