WeakValueDictionary<K, V>.TryGetValue 方法

命名空间:  Microsoft.Internal.VisualStudio.PlatformUI
程序集:  Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)

语法

声明
Public Function TryGetValue ( _
    key As K, _
    <OutAttribute> ByRef value As V _
) As Boolean
public bool TryGetValue(
    K key,
    out V value
)

参数

  • key
    类型:K
  • value
    类型:V%

返回值

类型:System.Boolean

.NET Framework 安全性

请参见

参考

WeakValueDictionary<K, V> 类

Microsoft.Internal.VisualStudio.PlatformUI 命名空间