SynchronizedKeyedCollection(Of K, T).Contains Method (K)

 

Returns a value that indicates whether the collection contains an item with a specified key.

Namespace:   System.Collections.Generic
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

Public Function Contains (
	key As K
) As Boolean

Parameters

key
Type: K

The key of type K being tested for.

Return Value

Type: System.Boolean

true if the collection contains an item with the key specified; otherwise, false.

.NET Framework
Available since 3.0
Return to top
Show: