Method
EnsureCapacity
func EnsureCapacity(capacity: int) -> int
Declaring type: PriorityArrayQueue<TElement, TPriority>
Module: System.Collections
Assembly: System.Runtime.dll
Source file: PriorityArrayQueue.rvn
Reserves at least capacity entries and returns the resulting capacity. Negative capacity faults.
Parameters
| Name | Type | Description |
|---|---|---|
capacity |
Int32 |