RAD Studio VCL Reference
|
Sets the value for any property this System::Variant type supports.
Override SetProperty to provide the write implementation for the properties of instances of the invokeable System::Variant type. When the application writes to a System::Variant property (Delphi) or calls the System::Variant's Exec method (C++) a call is automatically generated to SetProperty that allows the TInvokeableVariant descendant to implement the call.
Name is the name of the property.
Value is a TVarData record that contains the new property value.
GetProperty returns true if it sets a property value, false if it does not implement the specified property or if the specified property is read-only.
As implemented in TInvokeableVariant, GetProperty always returns false, because it does not implement any properties.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|