GetPropertyByNameAndType

This call is deprecated and will be removed by end of 2020.
Please use the call GetPropertyByName(Ex) / GetPropertyByNameW(Ex) + GetPropertyType(Ex) instead, just rename the function name.

Syntax

//   Visual Studio for Windows
public:
__int64 __declspec(dllexport) __stdcall GetPropertyByNameAndType(
            __int64             model,
            const char          * name,
            __int64             rdfPropertyType
        );

//   Linux, OS-X and non-Visual Studio Windows solutions
public:
int64_t GetPropertyByNameAndType(
            int64_t             model,
            const char          * name,
            int64_t             rdfPropertyType
        );    

Property model

Size: 64 bit / 8 byte (value)
The handle to the model. The model handle is static during its existance. Several models can be opened simultaniously within one session. Different models are always independent, threads are allowed to be running on different models simultaniously.

Property name

Size: 32 bit / 4 byte (reference)
This attribute represents the name of the property; either a datatype property or a relation (given as char array / ASCII). The name is given by the host and the attribute is not changed.

Property rdfPropertyType

Size: 64 bit / 8 byte (value)
the type of the rdfProperty, i.e. is it an ObjectProperty (relation) or a DatatypeProperty, in the later case also subdivision towards Boolean, Double, Integer or String.