Compartilhar via


DiagramItemCollection.Contains(DiagramItem) Method

Definition

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.

Applies to