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