DataObject.NoIvarPut Method | |
Handles assignment operations to and adds undefined instance variables.
Namespace:
XSharp.XPP
Assembly:
XSharp.XPP (in XSharp.XPP.dll) Version: 2.19
Syntax Remarks
If a message is sent to an instance of this class for which no corresponding instance variable exists,
then NoIvarPut() is executed. The method receives the name of the instance variable in the <cName> parameter,
and the value to be assigned in the <uValue> parameter. NoIvarPut() first creates the instance variable and then assigns
the value passed. Because it now exists, future access to the instance variable no longer causes NoIvarPut() to be executed.
Instead, the operation is handled in the same way as for a static instance variable. The function IsMemberVar() can be used to
test for the existence of an instance variable added via NoIvarPut(). In addition, the method :classDescribe() also reflects
dynamic instance variables.
See Also