conDel Function [AX 2012]

Updated: November 21, 2009

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Removes the specified number of elements from a container.


container conDel(container container, int start, int number)

Parameter

Description

container

The container from which to remove elements.

start

The one-based position at which to start removing elements.

number

The number of elements to delete.

A new container without the removed elements.

static void conDelExample(Args _args)
{
    container c = ["Hello world", 1, 3.14];
    ;
    // Deletes the first two items from the container.
    c = conDel(c, 1, 2);
}

Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).

Community Additions

ADD
Show: