RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
PropertySet Class

PropertySet represents a property access method on an Automation interface.

Pascal
PropertySet = class(AutoCmd);
C++
class PropertySet : public AutoCmd;

sysvari.h

The PropertySet class represents a single method on an Automation interface that sets the value of a property. The interface is assigned as the value of a Variant. The PropertySet object can be executed using the Variant’s Exec method. 

Each PropertySet instance is assigned a name, which is the same as the name of the corresponding method on the interface. In addition, it can be assigned parameters that correspond to the parameters of the method. These parameters can be stored by position or by name. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!