LocalizedStringDictionaryTryGetValue 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 (24.3.0.1000)
Syntax public bool TryGetValue(
string key,
out string?? value
)
Public Function TryGetValue (
key As String,
<OutAttribute> ByRef value As String
) As Boolean
public:
virtual bool TryGetValue(
String^ key,
[OutAttribute] String^% value
) sealed
abstract TryGetValue :
key : string *
value : string byref -> bool
override TryGetValue :
key : string *
value : string byref -> bool
Parameters
- key
- Type: SystemString
The key whose value to get. - value
- Type: SystemString
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 if the object that implements
IDictionaryTKey, TValue contains an element with the specified key; otherwise,
.
Implements
IDictionaryTKey, TValueTryGetValue(TKey, TValue)Exceptions See Also