BaseCollection.Contains Method (Object)
Determines whether an item is in the collection.
Namespace: Microsoft.ManagementConsole
Assembly: Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)
Syntax
public bool Contains(
object item
)
public:
bool Contains(
Object^ item
)
member Contains :
item:Object -> bool
Public Function Contains (
item As Object
) As Boolean
Parameters
item
Type: System.ObjectThe item to locate in the collection. This value can be a null reference.
Return Value
Type: System.Boolean
If the item is in the collection, this value is true; otherwise, false.
See Also
BaseCollection Class
Microsoft.ManagementConsole Namespace
Return to top