System::Collections::Generic::SortedList::set_Capacity 方法

SortedList::set_Capacity method

设置当前列表的容量。

void System::Collections::Generic::SortedList<TKey, TValue>::set_Capacity(int capacity)
参数类型描述
capacityint要设置的容量。

另见