System.Rtti.TVirtualMethodInterceptor.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AClass: TClass);

C++

__fastcall TVirtualMethodInterceptor(System::TClass AClass);

Properties

Type Visibility Source Unit Parent
constructor public
System.Rtti.pas
System.Rtti.hpp
System.Rtti TVirtualMethodInterceptor

Description

Creates a new instance of the TVirtualMethodInterceptor class.

AClass is the class for which to create a new descendant dynamically at runtime. A new instance of TVirtualMethodInterceptor must be created for each base class accessed.