GetInstancePropertyByIterator

Returns a handle to the objectTypeProperty or dataTypeProperty connected to the instance, this property can also contain a value, but for example also the knowledge about cardinality restrictions in the context of this instance's class and the exact cardinality in context of its instance.

Syntax

//   Visual Studio for Windows
public:
__int64 __declspec(dllexport) __stdcall GetInstancePropertyByIterator(
            __int64             owlInstance,
            __int64             rdfProperty
        );

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

Property owlInstance

Size: 64 bit / 8 byte (value)
The handle to the specific instance in the design tree. The instance handle is static within one open model but is most probably different when the same instance is opened in another model. The instance is always exactly of one unique class.

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.