C# Class System.ComponentModel.WeakHashtable

This is a hashtable that stores object keys as weak references. It monitors memory usage and will periodically scavenge the hash table to clean out dead references.
Inheritance: System.Collections.Hashtable
Afficher le fichier Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Méthodes publiques

Méthode Description
Clear ( ) : void
Remove ( object key ) : void
SetWeak ( object key, object value ) : void

Private Methods

Méthode Description
ScavengeKeys ( ) : void
WeakHashtable ( ) : System

Method Details

Clear() public méthode

public Clear ( ) : void
Résultat void

Remove() public méthode

public Remove ( object key ) : void
key object
Résultat void

SetWeak() public méthode

public SetWeak ( object key, object value ) : void
key object
value object
Résultat void