company logo

Property :: isCursorOwner - Is property handle owner of the property handle cursor

The function returns true, when the property handle cursor is not shared between different property handles. i.e. when the property handle cursor is deleted when closing the property handle.

When the property handle cursor is shared by several property handles, the last property handle closed will delete the property handle cursor. As long as several property handles share the property handle cursor, no property handle instance is considered as owner.

Property handles will share the cursor, when being created by assigning property handles or by calling the use() function. Property handles are not shared, when being opened with cursorCopy().

The property throws an exception, when the property handle is not valid.

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false.

Implementation details

bool Property  :: isCursorOwner (  )