Compartilhar via


GlobalObjectCollection.IList.Contains Method

Determines whether an object is in the collection.

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

Syntax

'Declaration
Private Function Contains ( _
    item As Object _
) As Boolean Implements IList.Contains
bool IList.Contains(
    Object item
)
private:
virtual bool Contains(
    Object^ item
) sealed = IList::Contains
private abstract Contains : 
        item:Object -> bool  
private override Contains : 
        item:Object -> bool
JScript does not support explicit interface implementations.

Parameters

  • item
    Type: Object

    An item to find.

Return Value

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

Implements

IList.Contains(Object)

.NET Framework Security

See Also

Reference

GlobalObjectCollection Class

Microsoft.VisualStudio.Shell.Design Namespace