Visual Basic (Declaration) | |
---|---|
Public Function TryGetValue( _ ByVal key As TKey, _ ByRef value As TValue _ ) As Boolean |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Cache(Of TKey,TValue) Dim key As TKey Dim value As TValue Dim value As Boolean value = instance.TryGetValue(key, value) |
Parameters
- key
- value
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2