An abstract enumerator.
IDL Declaration.
interface ICorPublishEnum : IUnknown { HRESULT Clone([out] ICorPublishEnum **ppEnum); HRESULT GetCount([out] ULONG *pcelt); HRESULT Reset(); HRESULT Skip([in] ULONG celt); };
Clone
HRESULT Clone([out] ICorPublishEnum **ppEnum);
Copies a pointer to the current position in the list to another enumerator object.
Parameter | Description |
---|---|
ppEnum | Pointer to pointer to the target enumerator object. |
GetCount
HRESULT GetCount([out] ULONG *pcelt);
Gets the number of elements pointed to by this enumerator object.
Parameter | Description |
---|---|
pcelt | Pointer to the number of elements pointed to by the enumerator object. |
Reset
HRESULT Reset();
Sets or resets the position of the enumerator to the beginning of the list.
Skip
HRESULT Skip([in] ULONG celt);
Moves the position of the enumeration forward. The number of objects to be skipped is based on a parameter passed to the method.
Parameter | Description |
---|---|
celt | The number of elements to be skipped. |