Gets the length of the vectors returned by this instance.

Namespace: Extreme.Statistics.Random
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Property Capacity As Integer
C#
public int Capacity { get; set; }
C++
public:
int Capacity {
	int get ();
	void set (int value);
}

Remarks

Capacity specifies the number of points that will be requested. When enumerating the sequence using IEnumerator methods and properties, or in a foreach loop, Capacity equals the number of points returned.

The capacity must be greater than zero.

Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionThe new capacity is less than or equal to zero.