Share via


Hashtable.MaxLoadFactor Property

Gets or sets the load factor that results in a rehash with a greater number of buckets.

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)

Syntax

public int MaxLoadFactor { get; set; }

Property Value

The load factor that results in a rehash with a greater number of buckets. The default value is 2.

Remarks

When the actual load factor reaches the maximum load factor, the number of buckets is automatically increased using the value of the GrowthFactor property.

Version Information

Available in the .NET Micro Framework version 4.1 and 4.2.

See Also

Reference

Hashtable Class
Hashtable Members
System.Collections Namespace