Click or drag to resize
Accord.NET (logo)

ReadOnlyKeyedCollectionTKey, TValueContains Method (KeyValuePairTKey, TValue)

Determines whether the ICollectionT contains a specific value.

Namespace:  Accord.Collections
Assembly:  Accord (in Accord.dll) Version: 3.6.0
Syntax
public bool Contains(
	KeyValuePair<TKey, TValue> item
)
Request Example View Source

Parameters

item
Type: System.Collections.GenericKeyValuePairTKey, TValue
The object to locate in the ICollectionT.

Return Value

Type: Boolean
true if item is found in the ICollectionT; otherwise, false.
See Also