Delen via


GlobalTypeCollection.IList.Contains Method

Determines whether the specified item 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

    The item to find.

Return Value

Type: Boolean
true if the object can be found in the collection, otherwise false.

Implements

IList.Contains(Object)

.NET Framework Security

See Also

Reference

GlobalTypeCollection Class

Microsoft.VisualStudio.Shell.Design Namespace