Delen via


DiagramItemCollection.Contains Method

Determines whether a DiagramItem is in the collection.

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

Syntax

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

Return Value

Type: System.Boolean
true if DiagramItem is in the collection; otherwise, false.

.NET Framework Security

See Also

Reference

DiagramItemCollection Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace