WeakValueDictionary<K, V> Class
Inheritance Hierarchy
System.Object
Microsoft.Internal.VisualStudio.PlatformUI.WeakValueDictionary<K, V>
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Public Class WeakValueDictionary(Of K, V As Class)
public class WeakValueDictionary<K, V>
where V : class
Type Parameters
- K
- V
The WeakValueDictionary<K, V> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WeakValueDictionary<K, V>() | ||
WeakValueDictionary<K, V>(IEqualityComparer<K>) |
Top
Properties
Name | Description | |
---|---|---|
Count | ||
Item | ||
Keys | ||
Values |
Top
Methods
Name | Description | |
---|---|---|
Clear | ||
Contains | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetValue |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.