System::Collections::Generic::List::get_Capacity 方法

List::get_Capacity method

获取当前列表的容量。

int System::Collections::Generic::List<T>::get_Capacity() const

ReturnValue

列表的容量(而非大小)。

另见