Tries to get the element associated with the specified key, returning true upon success.
Namespace: Spotfire.Dxp.Framework.DocumentModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 51.0.16121.3915 (51.0.16121.3915)
Syntax
C#
public bool TryGetValue( TKey key, out TNode value )
Parameters
- key
- Type: TKey
The key of the element to get. - value
- Type: TNode
When this method returns, contains the element associated with the specified key, if the key is found; otherwise, the default element 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.
Version Information
Supported in: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also