แก้ไข

แชร์ผ่าน


OrderedDictionary<TKey,TValue>.KeyCollection.Contains(TKey) Method

Definition

Determines whether the ICollection<T> contains a specific value.

public:
 virtual bool Contains(TKey key);
public bool Contains (TKey key);
abstract member Contains : 'Key -> bool
override this.Contains : 'Key -> bool
Public Function Contains (key As TKey) As Boolean

Parameters

key
TKey

They key to the location in the collection.

Returns

true if item is found in the ICollection<T>; otherwise, false.

Implements

Applies to