Bagikan melalui


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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
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: Boolean

.NET Framework Security

See Also

Reference

SelectedShapesCollection Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace