TRTTIProperty.SetValue( ) takes an TValue instance, but if the provided TValue instance is based on a different type then the property, things blow up.
Consider 开发者_如何学Cthe following: TFieldType = class fValue: string; end; TMainClass = class private
How to 开发者_运维问答simulate C# typeof-command behavior in C++? C# example: public static PluginNodeList GetPlugins (Type type)