Share 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

‘선언
Private Function Contains ( _
    item As Object _
) As Boolean Implements IList.Contains
‘사용 방법
Dim instance As GlobalTypeCollection
Dim item As Object
Dim returnValue As Boolean

returnValue = CType(instance, IList).Contains(item)
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

Return Value

Type: System.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

GlobalTypeCollection Members

Microsoft.VisualStudio.Shell.Design Namespace