company logo

Property :: operator= - Assign property instances

The function copies the property handle passed in cProperty. Both, the copy and the origin, share the cursor, access key selection, filter settings and event handlers, i.e. changing the instance selection in one of the property handles will automatically change the instance selection in the other. In contrast to use(), the operator will also close transient reference cursors.

In order to create a property referring to a separate cursor one may call cursorCopy().

Return value:  Result property handle ( odaba::Property & )

Reference to the property handle that contains the result of an operation. Note that invalid properties may cause exceptions.

Implementation details

odaba::Property & Property  :: operator= ( odaba::Property &cProperty )
  • cProperty - Property reference

    A property handle refers to a (usually) opened property. Invalid properties may cause an exception.