company logo

Property :: use - Use passed property handle

The function creates a copy of 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 order to create a property referring to a separate cursor one may call cursorCopy() .

When the property handle passed is not valid, the calling property is closed. No exception is thrown, even if the property after calling use() is not valid.

Return value:  Property reference ( odaba::Property & )

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

Implementation details

odaba::Property & Property  :: use ( odaba::Property &cProperty )
  • cProperty - Property reference

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