Share via


SelectedShapesCollection.Contains(DiagramItem) Method

Definition

Gets a value indicating whether the selection contains the specified DiagramItem.

public:
 bool Contains(Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ diagramItem);
public bool Contains (Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem diagramItem);
member this.Contains : Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem -> bool
Public Function Contains (diagramItem As DiagramItem) As Boolean

Parameters

diagramItem
DiagramItem

Returns

true if the specified DiagramItem is found in the selection.

Applies to