Compartir a través de


GlobalObjectCollection.Contains Method

Determines whether this collection contains the given item.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Public Function Contains ( _
    item As GlobalObject _
) As Boolean
public bool Contains(
    GlobalObject item
)
public:
bool Contains(
    GlobalObject^ item
)
member Contains : 
        item:GlobalObject -> bool
public function Contains(
    item : GlobalObject
) : boolean

Parameters

Return Value

Type: Boolean
true if the collection contains the object, otherwise false.

.NET Framework Security

See Also

Reference

GlobalObjectCollection Class

Microsoft.VisualStudio.Shell.Design Namespace