| WikiReadOnlyDictionaryContainsKey Method |
This is preliminary documentation and is subject to change.
Determines whether the IDictionaryTKey, TValue contains an element with the specified key.
Namespace: WikiClientLibrary.InfrastructuresAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.8.0+bba8b7a48c3412988f4331f41f4164c670d73663
Syntax public bool ContainsKey(
string key
)
Public Function ContainsKey (
key As String
) As Boolean
Dim instance As WikiReadOnlyDictionary
Dim key As String
Dim returnValue As Boolean
returnValue = instance.ContainsKey(key)
public:
virtual bool ContainsKey(
String^ key
) sealed
abstract ContainsKey :
key : string -> bool
override ContainsKey :
key : string -> bool
Parameters
- key String
- The key to locate in the IDictionaryTKey, TValue.
Return Value
Boolean if the
IDictionaryTKey, TValue contains an element with the key; otherwise,
.
Implements
IDictionaryTKey, TValueContainsKey(TKey)Exceptions Exception | Condition |
---|
ArgumentNullException | key is . |
See Also