RemovePropertyEx

Removes property from model.
This call has the same behavior as RemoveProperty, however needs to be
used in case properties are exchanged as a successive series of integers.

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

public const string enginedll = @"engine.dll";

[DllImport(enginedll, EntryPoint = "RemovePropertyEx")]
public static extern Int64 RemovePropertyEx(Int64 model, Int64 rdfProperty);    

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 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.