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

public const string EngineDLL = @"engine.dll";[DllImport(EngineDLL, EntryPoint = "GetPropertyByNameAndType")]
public static extern Int64 GetPropertyByNameAndType(Int64 model, string name, Int64 rdfPropertyType);

[DllImport(EngineDLL, EntryPoint = "GetPropertyByNameAndType")]
public static extern Int64 GetPropertyByNameAndType(Int64 model, byte[] name, Int64 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: 64 bit / 8 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.