DiagramItemCollection.Contains(DiagramItem) 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 DiagramItem is in the collection.
public:
virtual bool Contains(Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ diagramItem);
public virtual bool Contains (Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem diagramItem);
abstract member Contains : Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem -> bool
override this.Contains : Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem -> bool
Public Overridable Function Contains (diagramItem As DiagramItem) As Boolean
Parameters
- diagramItem
- DiagramItem
The DiagramItem to search for.
Returns
true if DiagramItem is in the collection; otherwise, false.