語言

ICollectionContract<C>.GetCount 方法

定義

回傳包含於 ICollectionContract<C>的元素數量。

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

傳回

包含於 ICollectionContract<C>的元素數量。

適用於