ConditionalWeakTable<TKey, TValue> Constructor ()
.NET Framework (current version)
Initializes a new instance of the ConditionalWeakTable<TKey, TValue> class.
Assembly: mscorlib (in mscorlib.dll)
The ConditionalWeakTable<TKey, TValue> constructor instantiates an empty ConditionalWeakTable<TKey, TValue> table; that is, the table contains no key/value pairs. You can add key/value pairs by calling the Add, GetValue, or GetOrCreateValue method.
Every key in a ConditionalWeakTable<TKey, TValue> object must be unique. Keys are not unique if they refer to the same object (that is, if passing them as arguments to the Object::ReferenceEquals method returns true).
Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Show: