Udostępnij za pośrednictwem


ShapeModelingCollection.Contains(ShapeElement) Method

Definition

Determines whether a ShapeElement is in the collection.

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

Parameters

shape
ShapeElement

Returns

true if shape is in the collection; otherwise, false.

Applies to