sdaiGetLowerBound

The function returns the current value of the lower bound, or index, of the specified aggregate instance.

Syntax

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

[DllImport(enginedll, EntryPoint = "sdaiGetLowerBound")]
public static extern Int64 x86_sdaiGetLowerBound(Int32 aggregate);

[DllImport(enginedll, EntryPoint = "sdaiGetLowerBound")]
public static extern Int64 x64_sdaiGetLowerBound(Int64 aggregate);

public static Int64 sdaiGetLowerBound(Int64 aggregate)
		{
			if (IntPtr.Size == 4)
			{
				var _result = x86_sdaiGetLowerBound((Int32)aggregate);
				return _result;
			}
			else
			{
				return x64_sdaiGetLowerBound(aggregate);
			}
		}    

Property aggregate

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