company logo

Property :: extensionExist - Does property extension exist?

The function returns, whether the requested property extension exists for the instance currently selected. The function allows checking extension values as well as extension properties. When no instance is selected in the property handle, the function throws an exception.

Notes:

Property extensions just being created are accessible via this function only, when the instance or property extension has been saved (save()).

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  :: extensionExist ( odaba::String &sExtension )

The function returns true, when a property extension with the property name passed in sExtension has been stored for the instance currently selected in the property handle. When no property extension has been found, the function returns false.

When the property name has been overloaded in the database, the extension property as being defined in the database will be searched. Otherwise, property extensions defined in either the dictionary or the database are searched for.

Notes:

In order to check, whether an extension property with the given name is available, one may call Database::extensionExist().

  • sExtension - Extension property name

    Extension property are defined in a database or resource database using 40 byte character names (ASCII or Latin1). Extension names are passed as String.