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
- diagramItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
Return Value
Type: Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.