ConditionalWeakTable<TKey,TValue> Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ConditionalWeakTable<TKey,TValue> class.
public:
ConditionalWeakTable();
public ConditionalWeakTable ();
Public Sub New ()
Remarks
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
).
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για