Tries to get the value associated with the specified key, returning true upon success.
Namespace: Spotfire.Dxp.Framework.DocumentModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax
C#
public bool TryGetValue( TKey key, out TValue value )
Parameters
- key
- Type: TKey
The key of the value to get. - value
- Type: TValue
When this method returns, contains 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 can be passed uninitialized.
Return Value
Type: Booleantrue if this instance contains an element with the specified key; otherwise, false.
Implements
IDictionaryTKey, TValueTryGetValue(TKey, TValue)Version Information
See Also