IsProperty

Returns true if the argument rdfProperty is an actual active property in an active model. It returns false in all other cases, i.e. this could mean the model is already closed, the property is inactive or removed or the session is closed. It could also mean it represents a handle to another Thing, for example a class, instance or model.

Syntax

//   Visual Studio for Windows
public:
bool __declspec(dllexport) __stdcall IsProperty(
            __int64             rdfProperty
        );

//   Linux, OS-X and non-Visual Studio Windows solutions
public:
bool IsProperty(
            int64_t             rdfProperty
        );    

Property rdfProperty

Size: 64 bit / 8 byte (value)
This attribute represents a handle to the property, this can be either a datatype property (attribute), an object property (relation) or non-defined property. The handle will be static during the life-time of the model, when the model (or part of it) is saved and opened again, the handle will most probably be different.