GetPropertyType

This function returns the type of the property.
The following return values are possible:
    0 The property is not defined yet
    1 The property is an Object Type Property
    2 The property is an Data Type Property of type Boolean
    3 The property is an Data Type Property of type Char
    4 The property is an Data Type Property of type Integer
    5 The property is an Data Type Property of type Double

Syntax

public const string EngineDLL = @"engine.dll";[DllImport(EngineDLL, EntryPoint = "GetPropertyType")]
public static extern Int64 GetPropertyType(Int64 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.