Share via


WeakValueDictionary<K, V>.TryGetValue Method

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Function TryGetValue ( _
    key As K, _
    <OutAttribute> ByRef value As V _
) As Boolean
public bool TryGetValue(
    K key,
    out V value
)
public:
bool TryGetValue(
    K key, 
    [OutAttribute] V% value
)
member TryGetValue : 
        key:'K * 
        value:'V byref -> bool
public function TryGetValue(
    key : K, 
    value : V
) : boolean

Parameters

  • key
    Type: K
  • value
    Type: V%

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

WeakValueDictionary<K, V> Class

Microsoft.Internal.VisualStudio.PlatformUI Namespace