ShapeModelingCollection.Contains(ShapeElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.