IList<TValue>.size 方法

定义

计算容器中的元素数。

public:
 int size();
public int size ();
abstract member size : unit -> int
Public Function size () As Integer

返回

受控序列的长度。

注解

有关详细信息,请参阅 list::size (STL/CLR)

适用于