API Reference > OdDAI Namespace > Classes > List Template > List Methods > List::addByIndex Method
List::addByIndex Method
Syntax
C++
void addByIndex(int indexAddAfter, const TItem& elementToAdd);
Parameters 
Description 
int indexAddAfter 
[in] item index to set after  
const TItem& elementToAdd 
[in] the new item value 

details Add new item to ordered aggregate by index.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.