Diagram.FindShape(ModelElement) 方法

定义

在此关系图上查找与此给定元素对应的形状

public:
 Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ FindShape(Microsoft::VisualStudio::Modeling::ModelElement ^ element);
public Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement FindShape (Microsoft.VisualStudio.Modeling.ModelElement element);
member this.FindShape : Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Public Function FindShape (element As ModelElement) As ShapeElement

参数

element
ModelElement

返回

ShapeElement

适用于