Need to access Appointment property by propertyname.
How to do that?
Let's say I want to write a function and pass a property name and then
return the value of the property:
{Delphi}
function getPropValue(Propname: String): Variant;
begin
Result := AppointmentItem. ?????
end;