company logo

PropertyHandle :: SetInstance - Set basic instance for property

The function locates the area for the property handle in an instance. When defining internal structured instances this allows locating the property instance within a structure instance. This function should not be called for property handles in database instances since it may disconnect the property handle from the database instance.

Return value:  Pointer to internal instance area ( void * )

Implementation details

::Instance PropertyHandle  :: SetInstance ( ::Instance instance )
  • instance - Instance area

    Instances do have the type of the referenced property handle (collection type). The instance contains a pointer to a properly structured instance area.

    You can use the !-operator or the GetData() function to check whether the instance refers to data or not.