company logo

Property :: hasCurrentKey - Is primary key defined for current instance

The function return true , when a primary key is defined for the type of the currently selected instance in the property handle. When no instance is selected, the function returns true , when a primary key has been defined for the type of the property.

The function returns false , when no primary key has been defined.

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  :: hasCurrentKey (  )