sdaiRemoveByIterator

The function removes the current member of an aggregate instance, that is not an array, referenced by the specified iterator. After executing the function, the iterator position set as if the sdaiNext function had been invoked before the member was removed.

Syntax

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

[DllImport(enginedll, EntryPoint = "sdaiRemoveByIterator")]
public static extern void x86_sdaiRemoveByIterator(Int32 iterator);

[DllImport(enginedll, EntryPoint = "sdaiRemoveByIterator")]
public static extern void x64_sdaiRemoveByIterator(Int64 iterator);

public static void sdaiRemoveByIterator(Int64 iterator)
		{
			if (IntPtr.Size == 4)
			{
				x86_sdaiRemoveByIterator((Int32)iterator);
			}
			else
			{
				x64_sdaiRemoveByIterator(iterator);
			}
		}    

Property iterator

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