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
- diagramItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
Return Value
Type: System.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.