SelectedShapesCollection.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.
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.