AfStronglyTypedDataContainerList Class [AX 2012]

The AfStronglyTypedDataContainerList class implements a list of strongly typed data containers.

Syntax

class AfStronglyTypedDataContainerList

Run On

Called

Methods

  Method Description
Gg727998.pubmethod(en-us,AX.60).gif add Adds the specified data container to the end of the list.
Gg727998.pubmethod(en-us,AX.60).gif 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.
Gg727998.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg727998.pubmethod(en-us,AX.60).gif clear Clears the list by removing all the elements.
Gg727998.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg727998.pubmethod(en-us,AX.60).gif get_Count Retrieves the number of elements in the list.
Gg727998.pubmethod(en-us,AX.60).gif get_DataContainerDescriptor Retrieves the data container descriptor that defines the type of data containers that this list can contain.
Gg727998.pubmethod(en-us,AX.60).gif 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.
Gg727998.pubmethod(en-us,AX.60).gif get_Item Retrieves the data container that is stored at the specified index in the list.
Gg727998.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg727998.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg727998.pubmethod(en-us,AX.60).gif insert Inserts the specified data container at the specified index.
Gg727998.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 it at the specified index, and retrieves the newly-created data container.
Gg727998.pubmethod(en-us,AX.60).gif new A new instance of the AfStrongTypedDataContainerList class.
Gg727998.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.)
Gg727998.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.)
Gg727998.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg727998.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg727998.pubmethod(en-us,AX.60).gif remove Removes the element that is stored at the specified index in the list.
Gg727998.pubmethod(en-us,AX.60).gif set_Item A new value for the specified list element.
Gg727998.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg727998.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg727998.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.)
Gg727998.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg727998.pubmethod(en-us,AX.60).gif wt Retrieves a weakly-typed data container list interface that is associated with this strongly-typed data container list.
Gg727998.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. 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