conDel Function

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)

Parameters

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.

Return Value

A new container without the removed elements.

Example

    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);
    }

See also

conFind Function

conIns Function

conLen Function

conNull Function

conPoke Function

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