Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
尽管对 SomeRttiField.SetValue 进行了显式调用,但我似乎无法将对象字段设置为空。这是伪代码:
var A: TRTTIField; .. begin A.SetValue(A_Instance, TValue.Empty); if A.GetValue(A_Instance).IsEmpty then ShowMessage('Empty.'); //---- this never happens end;