WeakValueDictionary<K, V>.TryGetValue Method
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Public Function TryGetValue ( _
key As K, _
<OutAttribute> ByRef value As V _
) As Boolean
public bool TryGetValue(
K key,
out V value
)
Parameters
- key
Type: K
- value
Type: V%
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.