Obtain property value by name
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:
{Delphi}
function getPropValue(Propname: String): Variant;
begin
Result := AppointmentItem. ?????
end;
|