System::Text::RegularExpressions::MatchCollection 클래스

MatchCollection class

문자열에 정규식을 반복 적용하여 얻은 매치 컬렉션입니다. 이 클래스의 객체는 System::MakeObject() 함수를 사용하여 할당해야 합니다. 스택에 직접 생성하거나 operator new를 사용해서 인스턴스를 만들면 런타임 오류 및/또는 어설션 오류가 발생합니다. 항상 이 클래스를 System::SmartPtr 포인터로 감싸고, 해당 포인터를 함수 인자로 전달하도록 사용하십시오.

class MatchCollection : public System::Collections::Generic::List<MatchPtr>

메서드

메서드설명
IsReadOnly() const컬렉션을 읽기 전용으로 표시합니다.

또 보기