Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ICorProfilerModuleEnum Interface

.NET Framework 4.6 and 4.5

Provides methods to sequentially iterate through a collection of modules loaded by the application or the profiler.



ICorProfilerModuleEnum::Clone Method

Gets an interface pointer to a copy of this ICorProfilerModuleEnum interface.

ICorProfilerModuleEnum::GetCount Method

Gets the number of managed modules that were loaded into the application.

ICorProfilerModuleEnum::Next Method

Gets the specified number of contiguous modules from a sequential collection of objects, starting at the enumerator's current position in the sequence.

ICorProfilerModuleEnum::Reset Method

Moves the enumerator's cursor to the starting position of the sequence.

ICorProfilerModuleEnum::Skip Method

Advances the position of the enumerator's cursor so that the specified number of elements are skipped.

The ICorProfilerModuleEnum 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 associated with passing large arrays as method parameters.

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions:  4.6 RC, 4.5.2, 4.5.1, 4.5, 4

© 2015 Microsoft