Functions for Manipulating Container Content

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

X++ supports a number of functions to manipulate the contents of containers. The following table gives an overview of these functions.

Function

Description

condel

Use condel to delete one or more items from a container.

confind

Use confind to locate a sequence of items in a container.

conins

Use conins to insert some items into a container.

conlen

Use conlen to find out how many items there are in a container.

connull

Use connull to explicitly dispose of the contents of a container.

conpeek

Use conpeek to extract an item from a container, and to convert it into another data type, if necessary.

conpoke

Use conpoke to replace (poke) an item in a container.

See also

Composite Data Types

Containers

Primitive Data Types

Announcements: New book: "Inside Microsoft Dynamics AX 2012 R3" now available. Get your copy at the MS Press Store.