Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ICorProfilerFunctionEnum Interface

Provides methods to sequentially iterate through a collection of functions in the common language runtime.



ICorProfilerFunctionEnum::Clone Method

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

ICorProfilerFunctionEnum::GetCount Method

Gets the number of functions that were loaded by the application or forcibly loaded by the profiler.

ICorProfilerFunctionEnum::Next Method

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

ICorProfilerFunctionEnum::Reset Method

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

ICorProfilerFunctionEnum::Skip Method

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

The ICorProfilerFunctionEnum 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.

ICorProfilerFunctionEnum enumerates over functions that have already been JIT-compiled, but does not include functions that are loaded from native images generated with Ngen.exe.

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions:  4.5, 4

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.