Click or drag to resize

WikiReadOnlyDictionaryTryGetValue Method

This is preliminary documentation and is subject to change.

Gets the value associated with the specified key.

Namespace: WikiClientLibrary.Infrastructures
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.3+0a73c45f0c78941900e328c6c6b819597b665e00
Syntax
public bool TryGetValue(
	string key,
	out JsonElement value
)

Parameters

key  String
The key whose value to get.
value  JsonElement
When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.

Return Value

Boolean
if the object that implements IDictionaryTKey, TValue contains an element with the specified key; otherwise, .

Implements

IDictionaryTKey, TValueTryGetValue(TKey, TValue)
Exceptions
ExceptionCondition
ArgumentNullExceptionkey is .
See Also