System::Collections::Specialized::StringCollection::IndexOf 메서드

StringCollection::IndexOf method

컨테이너에서 특정 문자열을 찾습니다.

int System::Collections::Specialized::StringCollection::IndexOf(const System::String &value) const
매개변수형식설명
valueconst System::String&String을(를) 찾을 문자열.

ReturnValue

지정된 문자열이 처음 나타나는 인덱스, 찾지 못하면 -1을 반환합니다.

또 보기