共用方式為


Diagram.FindShape(ModelElement) Method

Definition

Find a shape corresponding to this given element on this diagram

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

Parameters

element
ModelElement

Returns

Applies to