engiGetTypeDeclarationFromIterator

This call returns handle to the EXPRESS schema declaration from iterator. The declaration can be ENTITY, TYPE ENUM, TYPE SELECT, or defined TYPE. Use engiGetDeclarationType to access the further information. Use engiGetNextTypeDeclarationIterator to iterate declarations.

Syntax

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

[DllImport(enginedll, EntryPoint = "engiGetTypeDeclarationFromIterator")]
public static extern Int64 x86_engiGetTypeDeclarationFromIterator(Int32 model, Int32 iterator);

[DllImport(enginedll, EntryPoint = "engiGetTypeDeclarationFromIterator")]
public static extern Int64 x64_engiGetTypeDeclarationFromIterator(Int64 model, Int64 iterator);

public static Int64 engiGetTypeDeclarationFromIterator(Int64 model, Int64 iterator)
		{
			if (IntPtr.Size == 4)
			{
				var _result = x86_engiGetTypeDeclarationFromIterator((Int32)model, (Int32)iterator);
				return _result;
			}
			else
			{
				return x64_engiGetTypeDeclarationFromIterator(model, iterator);
			}
		}    

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 iterator

Size: 64 bit / 8 byte (reference)
...