共用方式為


find (STL/CLR)

Locates the position of the first occurrence of an element in a range that has a specified value.

template<class _InIt, class _Ty> inline
    _InIt find(_InIt _First, _InIt _Last, const _Ty% _Val);

Remarks

This function behaves the same as the STL function find. For more information, see find (<algorithm>).

Requirements

Header: <cliext/algorithm>

Namespace: cliext

See Also

Concepts

algorithm (STL/CLR)