Share via


ThreadSafeReadOnlyObservableCollection<T>.Contains Method (T)

 

Determines whether the collection contains a specified item.

Namespace:   Microsoft.WindowsServerSolutions.Common.ProviderFramework
Assembly:  ProviderFramework (in ProviderFramework.dll)

Syntax

public bool Contains(
    T item
)
public:
virtual bool Contains(
    T item
) sealed
Public Function Contains (
    item As T
) As Boolean

Parameters

  • item
    Type: T

    The item to locate in the collection.

Return Value

Type: System.Boolean

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

Implements

ICollection<T>.Contains(T)

See Also

Contains Overload
ThreadSafeReadOnlyObservableCollection<T> Class
Microsoft.WindowsServerSolutions.Common.ProviderFramework Namespace

Return to top