Uredi

Deli z drugimi prek


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
Clone Method Gets an interface pointer to a copy of this ICorProfilerObjectEnum interface.
GetCount Method Gets the total number of frozen objects in the collection.
Next Method Gets the specified number of contiguous objects from a sequential collection of objects, starting at the enumerator's current position in the sequence.
Reset Method Moves this enumerator's cursor to the starting position of the sequence.
Skip Method 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 System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also