System::Object::Is method

Object::Is method

객체가 targetType으로 설명된 유형의 인스턴스를 나타내는지 확인합니다. C# ‘is’ 연산자와 유사합니다.

virtual bool System::Object::Is(const TypeInfo &targetType) const
매개변수형식설명
targetTypeconst TypeInfo&TypeInfo 구조체는 현재 객체를 테스트할 대상 유형을 설명합니다.

ReturnValue

객체가 태그된 유형 또는 그 하위 클래스인 경우 True, 그렇지 않으면 false.

또 보기