IListContract<T>.Contains Method (T)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Determines whether a specific item is in an IListContract<T> collection.

Namespace:   System.AddIn.Contract
Assembly:  System.AddIn.Contract (in System.AddIn.Contract.dll)

bool Contains(
	T item
)

Parameters

item
Type: T

The object to look for in the collection.

Return Value

Type: System.Boolean

true if item is in the collection; otherwise, false.

.NET Framework
Available since 3.5
Return to top
Show: