Share via


AfDataContainerList Class [AX 2012]

The AfDataContainerList clss implements a list of weakly-typed data containers.

Syntax

class AfDataContainerList implements SysPackable

Run On

Called

Methods

  Method Description
Gg735798.pubmethod(en-us,AX.60).gif add Adds the specified data container to the end of the list.
Gg735798.pubmethod(en-us,AX.60).gif addNew Creates a new data container of the type that is specificed by the data container descriptor of the list, adds the new container to the end of the list, and retrieves the newly created data container.
Gg735798.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg735798.pubmethod(en-us,AX.60).gif clear Clears the list by removing all the elements.
Gg735798.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg735798.pubmethod(en-us,AX.60).gif get_Count Retrieves the number of elements in the list.
Gg735798.pubmethod(en-us,AX.60).gif get_DataContainerDescriptor Retrieves the data container descriptor that defines the type of data containers that the list can contain.
Gg735798.pubmethod(en-us,AX.60).gif get_Enumerator Retrieves a data container list enumerator object that enables the ability to enumerate the data containers that are contained in the list.
Gg735798.pubmethod(en-us,AX.60).gif get_Item Retrieves the data container that is stored at the specified index in the list.
Gg735798.privmethod(en-us,AX.60).gif get_PositionedListIterator Creates an iterator for the underlying list object that is positioned at the specified index.
Gg735798.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg735798.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg735798.pubmethod(en-us,AX.60).gif insert Inserts the specified data container at the specified index.
Gg735798.pubmethod(en-us,AX.60).gif insertNew Creates a new data container of the type that is specified by the data container descriptor of the list, inserts the new container at the specified index, and retrieves the newly created data container.
Gg735798.pubmethod(en-us,AX.60).gif new Initializes a new instance of the AfDataContainerList class.
Gg735798.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg735798.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg735798.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg735798.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg735798.pubmethod(en-us,AX.60).gif pack Packs the contents of the data container list into an X++ container.
Gg735798.pubmethod(en-us,AX.60).gif remove Removes the element that is stored at the specified index in the list.
Gg735798.pubmethod(en-us,AX.60).gif set_Item Sets the value for the specified list element.
Gg735798.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg735798.pubmethod(en-us,AX.60).gif st Retrieves a strongly-typed data container list interface that is associated with this data container list.
Gg735798.pubmethod(en-us,AX.60).gif swapContents Swaps the contents of the data container list with the contents of the other specified container.
Gg735798.privmethod(en-us,AX.60).gif swapList Swaps list objects that are used as underlying data storage.
Gg735798.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg735798.pubmethod(en-us,AX.60).gif unpack Unpacks the contents of a data container list from X++ container that was created by pack method.
Gg735798.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg735798.privmethod(en-us,AX.60).gif validateDataContainerType Validates the type of the specified data container and determines whether the data container can be stored in the list.
Gg735798.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg735798.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)

Top

Remarks

Data container lists are homogeneous, which implies that each instance of a data container list can only contain data containers of a single type. The type of the data containers that a list can contain is defined by the data container descriptor of the list, which can be accessed through the AfDataContainerList.get_DataContainerDescriptor method.

null Nothing nullptr unit a null reference (Nothing in Visual Basic) values are allowed.

Do not initialize this class directly. Data container list instances must only be created by the data container factory. For more information, see the AfDataContainerFactory class.

Inheritance Hierarchy

Object Class
  AfDataContainerList Class