ShapeModelingCollection.Contains(ShapeElement) 方法

定义

确定 ShapeElement 是否在集合中。

public:
 virtual bool Contains(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ shape);
public virtual bool Contains (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement shape);
abstract member Contains : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> bool
override this.Contains : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> bool
Public Overridable Function Contains (shape As ShapeElement) As Boolean

参数

shape
ShapeElement

返回

Boolean

如果形状在集合中,则为 true;否则为 false。

适用于