Partilhar via


SetEnumerator Class

Definition

The SetEnumerator class lets you traverse the elements in a set.

public ref class SetEnumerator : Microsoft::Dynamics::Ax::Xpp::XppObjectBase, Microsoft::Dynamics::Ax::Xpp::Enumerator
public class SetEnumerator : Microsoft.Dynamics.Ax.Xpp.XppObjectBase, Microsoft.Dynamics.Ax.Xpp.Enumerator
type SetEnumerator = class
    inherit XppObjectBase
    interface Enumerator
Public Class SetEnumerator
Inherits XppObjectBase
Implements Enumerator
Inheritance
Microsoft.Dynamics.AX.KernelInterop.ProxyBase
SetEnumerator
Implements

Remarks

Set enumerators start before the first element in the set. You must call the SetEnumerator.moveNext method to make it point to the first element in the set. As a best practice, use the SetEnumerator class instead of the SetIterator class, because enumerators are automatically created on the same tier as the set when the set.getEnumerator method is called. This helps you avoid a potential problem in code that is marked as Called from, where the iterator and set can be on separate tiers. In addition, set enumerators require less code than set iterators and therefore perform slightly better.

Constructors

SetEnumerator()

Fields

kernelClass (Inherited from XppObjectBase)

Properties

AxClassId

Methods

__shouldCallNew(Type) (Inherited from XppObjectBase)
addXppProxyReference(Type, Object) (Inherited from XppObjectBase)
Call(String, Object[], Type[], Object[]) (Inherited from XppObjectBase)
cancelTimeOut(Int32) (Inherited from XppObjectBase)
createKernelClass(Object[], Type[], Object[]) (Inherited from XppObjectBase)
Current()

Retrieves the value that is pointed to by the enumerator.

Definitionstring()

Returns a description of the enumerator.

equal(XppObjectBase) (Inherited from XppObjectBase)
finalize() (Inherited from XppObjectBase)
GetIntPtr() (Inherited from XppObjectBase)
GetKernelInstanceUniqueId() (Inherited from XppObjectBase)
getTimeOutTimerHandle() (Inherited from XppObjectBase)
getXppProxyReference(Type) (Inherited from XppObjectBase)
handle()
IsManagedValid() (Inherited from XppObjectBase)
kernelhandle()
KernelInstanceDisposed() (Inherited from XppObjectBase)
MakeReflectionCall(String, Object[]) (Inherited from XppObjectBase)
Movenext()

Determines whether the enumerator denotes a valid set element.

newmethod() (Inherited from XppObjectBase)
notify() (Inherited from XppObjectBase)
notifyAll() (Inherited from XppObjectBase)
objectOnServer()
Obsolete.
(Inherited from XppObjectBase)
Reset()

Moves the enumerator to the start of the set.

setTimeOut(String, Int32, Boolean)
Obsolete.
(Inherited from XppObjectBase)
setTimeOut(String, Int32)
Obsolete.
(Inherited from XppObjectBase)
ToString()

Retrieves a description of the contents of the element in the set that the enumerator currently points to.

usageCount() (Inherited from XppObjectBase)
VerifyKernelClass() (Inherited from XppObjectBase)
wait() (Inherited from XppObjectBase)
Xml() (Inherited from XppObjectBase)
Xml(Int32) (Inherited from XppObjectBase)

Applies to