IList<TValue>.size 方法

定義

計算容器中的項目數目。

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

傳回

受控制序列的長度。

備註

如需詳細資訊,請參閱 list::size (STL/CLR)

適用於