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: System.Object
An item to find.
Return Value
Type: System.Boolean
true if the object is in the collection, otherwise false.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.