count (STL/CLR)

傳回的值符合指定的值範圍內的項目數。

template<class _InIt, class _Ty> inline
    typename iterator_traits<_InIt>::difference_type
        count(_InIt _First, _InIt _Last, const _Ty% _Val);

備註

這個函式行為和 STL 函式一樣count。如需詳細資訊,請參閱 count

需求

標頭: < cliext/演算法 >

Namespace: cliext

請參閱

參考

algorithm (STL/CLR)