ShapeDecorator.ConfigureHostShape(ShapeElement) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
配置用于此修饰器的主机形状。
如果给定的父对象没有此修饰器的主机形状,将创建一个新的。 如果主机形状已存在,则此修饰器的设置将重新应用到现有的主机形状;不会创建新的主机形状。
public:
override Microsoft::VisualStudio::Modeling::Diagrams::DecoratorHostShape ^ ConfigureHostShape(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parent);
public override Microsoft.VisualStudio.Modeling.Diagrams.DecoratorHostShape ConfigureHostShape (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parent);
override this.ConfigureHostShape : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> Microsoft.VisualStudio.Modeling.Diagrams.DecoratorHostShape
Public Overrides Function ConfigureHostShape (parent As ShapeElement) As DecoratorHostShape
参数
- parent
- ShapeElement