MultiDictionaryBaseTKey, TValueContainsKey Method |
Determines whether a given key is found in the dictionary.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic virtual bool ContainsKey(
TKey key
)
public:
virtual bool ContainsKey(
TKey key
)
Parameters
- key
- Type: TKey
Key to look for in the dictionary.
Return Value
Type:
BooleanTrue if the key is present in the dictionary.
Implements
IDictionaryTKey, TValueContainsKey(TKey)
RemarksThe default implementation simply calls TryEnumerateValuesForKey.
It may be appropriate to override this method to
provide a more efficient implementation.
See Also