engiGetDeclarationType

This call returns a type of the EXPRESS schema declarations from its handle. The following functions can be used to get further information ENTITY: this SchemaDecl can be casted to SdaiEntity and used in engiGetEntityName and any other entity inquiry function TYPE ENUM: engiGetEnumerationElement TYPE SELECT: engiGetSelectElement DEFINED_TYPE: engiGetDefinedType FUNCTION, PROCEDURE, RULE, WHERE_RULE: engiGetScriptText Use engiGetTypeDeclarationFromIterator or engiGetSchemaScriptDeclarationByIterator to obtain declaration handle.

Syntax

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

[DllImport(enginedll, EntryPoint = "engiGetDeclarationType")]
public static extern enum_express_declaration x86_engiGetDeclarationType(Int32 declaration);

[DllImport(enginedll, EntryPoint = "engiGetDeclarationType")]
public static extern enum_express_declaration x64_engiGetDeclarationType(Int64 declaration);

public static enum_express_declaration engiGetDeclarationType(Int64 declaration)
		{
			if (IntPtr.Size == 4)
			{
				var _result = x86_engiGetDeclarationType((Int32)declaration);
				return _result;
			}
			else
			{
				return x64_engiGetDeclarationType(declaration);
			}
		}    

Property declaration

Size: 32 bit / 4 byte (value)
???.