DiagramItemCollection.Contains Method
Determines whether a DiagramItem is in the collection.
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 Overridable Function Contains ( _
diagramItem As DiagramItem _
) As Boolean
public virtual bool Contains(
DiagramItem diagramItem
)
public:
virtual bool Contains(
DiagramItem^ diagramItem
)
abstract Contains :
diagramItem:DiagramItem -> bool
override Contains :
diagramItem:DiagramItem -> bool
public function Contains(
diagramItem : DiagramItem
) : boolean
Parameters
- diagramItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
The DiagramItem to search for.
Return Value
Type: System.Boolean
true if DiagramItem is in the collection; otherwise, false.
.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.