| ObservableDictionaryTKey, TValueTryGetValue Method |
Gets the value of the element with the specified key if it
exists.
Namespace: Sdl.FileTypeSupport.Framework.Core.SettingsAssembly: Sdl.FileTypeSupport.Framework.Core.Settings (in Sdl.FileTypeSupport.Framework.Core.Settings.dll) Version: 1.0.0.0 (1.0.2551.2)
Syntaxpublic bool TryGetValue(
TKey key,
out TValue value
)
Public Function TryGetValue (
key As TKey,
<OutAttribute> ByRef value As TValue
) As Boolean
public:
virtual bool TryGetValue(
TKey key,
[OutAttribute] TValue% value
) sealed
abstract TryGetValue :
key : 'TKey *
value : 'TValue byref -> bool
override TryGetValue :
key : 'TKey *
value : 'TValue byref -> bool Parameters
- key
- Type: TKey
The key of the element to get. - value
- Type: TValue
The value of the element at the specified key.
Return Value
Type:
Booleantrue if an element with the specified key exists.
Implements
IDictionaryTKey, TValueTryGetValue(TKey, TValue)
See Also
Comments