PriorityQueue<T>.Capacity property

Gets or sets the number of elements that the PriorityQueue can contain.

public int Capacity { get; set; }

Exceptions

exception condition
ArgumentOutOfRangeException Capacity is set to a value that is less than Count.

See Also