MaxLoadFactor Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

'Declaration
Public Property MaxLoadFactor As Integer
public int MaxLoadFactor { get; set; }
public:
property int MaxLoadFactor {
    int get ();
    void set (int value);
}
member MaxLoadFactor : int with get, set
function get MaxLoadFactor () : int
function set MaxLoadFactor (value : int)

Property Value

Type: System. . :: . .Int32
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.

.NET Framework Security

See Also

Reference

Hashtable Class

System.Collections Namespace