Open this page in the API Guide

LocalizedStringDictionary.TryGetValue Method

Gets the value associated with the specified key.

Namespace:  Dundas.BI
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
public bool TryGetValue(
	string key,
	out string?? value
)

Parameters

key
Type: System.String
The key whose value to get.
value
Type: System.String
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

Type: Boolean
true if the object that implements IDictionary<TKey, TValue> contains an element with the specified key; otherwise, false.

Implements

IDictionary<TKey, TValue>.TryGetValue(TKey, TValue)
Exceptions
ExceptionCondition
ArgumentNullExceptionkey is null.
See Also