AfStronglyTypedDataContainerList Class [AX 2012]
The AfStronglyTypedDataContainerList class implements a list of strongly typed data containers.
Syntax
class AfStronglyTypedDataContainerList
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 specified by the data container descriptor of the list, adds it 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 this list can contain. | |
get_Enumerator | Returns a strongly-typed data container list enumerator object that enables the enumeration of 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. | |
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 it at the specified index, and retrieves the newly-created data container. | |
new | A new instance of the AfStrongTypedDataContainerList 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.) | |
remove | Removes the element that is stored at the specified index in the list. | |
set_Item | A new value for the specified list element. | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
wait | Pauses a process. (Inherited from Object.) | |
wt | Retrieves a weakly-typed data container list interface that is associated with this strongly-typed data container list. | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) |
Top
Remarks
Data container lists are homogeneous. For example,each instance of the 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 AfStronglyTypedDataContainerList .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
AfStronglyTypedDataContainerList Class