Property Capacity
Capacity
The number of elements that can fit in this list.
Declaration
public int Capacity { readonly get; set; }
Property Value
Type | Description |
---|---|
int | The number of elements that can fit in this list. |
Implements
Remarks
The capacity of a FixedList cannot be changed. The setter is included only for conformity with INativeList<T>.
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException | Thrown if the new value does not match the current capacity. |