Gets the value associated with the specified key.
Namespace:
Mindscape.WpfPropertyGridAssembly: Mindscape.WpfPropertyGrid (in Mindscape.WpfPropertyGrid)
Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public bool TryGetValue( TKey key, out TValue value ) |
Visual Basic (Declaration) |
---|
Public Function TryGetValue ( _ key As TKey, _ <OutAttribute> ByRef value As TValue _ ) As Boolean |
Parameters
- key
- Type: TKey
The key whose value to get.
- value
- Type: TValue%
When the 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.