Partager via


SelectedShapesCollection.Contains Method

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

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Déclaration
Public Function Contains ( _
    diagramItem As DiagramItem _
) As Boolean
public bool Contains(
    DiagramItem diagramItem
)
public:
bool Contains(
    DiagramItem^ diagramItem
)
member Contains : 
        diagramItem:DiagramItem -> bool 
public function Contains(
    diagramItem : DiagramItem
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

SelectedShapesCollection Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace