sdaiGetAggrElementBoundByIndex

The function returns the current value of the real precision, the string width, or the binary width of the aggregate element at the specified index position in the specified ordered aggregate instance.

Syntax

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

[DllImport(enginedll, EntryPoint = "sdaiGetAggrElementBoundByIndex")]
public static extern Int64 x86_sdaiGetAggrElementBoundByIndex(Int32 aggregate, Int32 index);

[DllImport(enginedll, EntryPoint = "sdaiGetAggrElementBoundByIndex")]
public static extern Int64 x64_sdaiGetAggrElementBoundByIndex(Int64 aggregate, Int64 index);

public static Int64 sdaiGetAggrElementBoundByIndex(Int64 aggregate, Int64 index)
		{
			if (IntPtr.Size == 4)
			{
				var _result = x86_sdaiGetAggrElementBoundByIndex((Int32)aggregate, (Int32)index);
				return _result;
			}
			else
			{
				return x64_sdaiGetAggrElementBoundByIndex(aggregate, index);
			}
		}    

Property aggregate

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

Property index

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