AfStronglyTypedDataContainerList.insertNew Method [AX 2012]
Creates a new data container of the type that is specified by the data container descriptor of the list, inserts it at the specified index, and retrieves the newly-created data container.
Syntax
public AfStronglyTypedDataContainer insertNew(int _index)
Run On
Called
Parameters
- _index
Type: int
The index at which to insert the newly created data container.
Return Value
Type: AfStronglyTypedDataContainer Class
The newly created data container.
Remarks
If the index is invalid, an error is thrown.