company logo

PropertyHandle :: SetContextVariables - Set context variables

Sometimes the behavior of an object is context dependent (e.g. the language set defines the language displayed in an generic attribute). Usually the context is set automatically when accessing objects in a certain hierarchy. Some applications, however, do access objects by instance identity (LOID). In this case the context is usually undefined. To set the proper context information the function can send a context string that passes context parameters to the property handle.

The context information passed in the variable string is sent to the structure and to the property context. To process the context information the SetContextVariables() function must be overloaded in the appropriate context classes.

Return value:  Success ( logical  )

Implementation details

logical PropertyHandle  :: SetContextVariables ( NString &context_string )
  • context_string - Context string