RemoveProperty

Removes property from model.

Return codes:
0 successful
1 argument property is invalid (wrong type or embedded property)
2 another property is dependent on the property to be deleted (for example through an inheritance relation)
3 an instance has a non-zero cardinality for the property to be deleted
4 undefined error

Syntax

//
//   Strong typing definition
//
int64_t         RemoveProperty(
                        RdfProperty             rdfProperty
                    );


//
//   Weak typing definition
//
int64_t __declspec(dllexport) __stdcall RemoveProperty(
                                                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.