ICorProfilerObjectEnum Interface
Provides methods to sequentially iterate through a collection of frozen objects that are generated by the Ngen.exe (Native Image Generator).
Methods
Method |
Description |
---|---|
Gets an interface pointer to a copy of this ICorProfilerObjectEnum interface. |
|
Gets the total number of frozen objects in the collection. |
|
Gets the specified number of contiguous objects from a sequential collection of objects, starting at the enumerator's current position in the sequence. |
|
Moves this enumerator's cursor to the starting position of the sequence. |
|
Advances the cursor of this enumerator from its current position so that the specified number of elements are skipped. |
Remarks
The ICorProfilerObjectEnum interface is an enumerator. It allows the receiver of an array to pull elements from the sender at a rate that is appropriate for the receiver. In other words, the receiver is able to explicitly control the flow of array elements, thereby avoiding the problems related to passing large arrays as method parameters.
Use ICorProfilerInfo2::EnumModuleFrozenObjects to obtain a pointer to the ICorProfilerObjectEnum interface.
Requirements
Platforms: See .NET Framework System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0
See Also
Reference
ICorProfilerInfo2::EnumModuleFrozenObjects Method