sdaiInsertNestedAggrByIndexADB

The function creates an aggregate instance as member of the specified ordered aggregate instance. The newly created aggregate is inserted into the aggregate at the position referenced by the specified index. Input ADB is expected to have type path. The function sets the value of the ADB with the identifier of the newly created aggregate instance.

Syntax

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

[DllImport(enginedll, EntryPoint = "sdaiInsertNestedAggrByIndexADB")]
public static extern Int32 x86_sdaiInsertNestedAggrByIndexADB(Int32 aggregate, Int32 index, Int32 selaggrInstance);

[DllImport(enginedll, EntryPoint = "sdaiInsertNestedAggrByIndexADB")]
public static extern Int32 x64_sdaiInsertNestedAggrByIndexADB(Int64 aggregate, Int64 index, Int64 selaggrInstance);

public static Int32 sdaiInsertNestedAggrByIndexADB(Int64 aggregate, Int64 index, Int64 selaggrInstance)
		{
			if (IntPtr.Size == 4)
			{
				var _result = x86_sdaiInsertNestedAggrByIndexADB((Int32)aggregate, (Int32)index, (Int32)selaggrInstance);
				return _result;
			}
			else
			{
				return x64_sdaiInsertNestedAggrByIndexADB(aggregate, index, selaggrInstance);
			}
		}    

Property aggregate

Size: 32 bit / 4 byte (reference)
...

Property index

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

Property selaggrInstance

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