ICLRMetaHost::EnumerateInstalledRuntimes Method
Returns an enumeration that contains a valid ICLRRuntimeInfo interface for each version of the common language runtime (CLR) that is installed on a computer.
Syntax
HRESULT EnumerateInstalledRuntimes (
[out, retval] IEnumUnknown **ppEnumerator);
Parameters
ppEnumerator
[out] An enumeration of ICLRRuntimeInfo interfaces corresponding to each version of the CLR that is installed on the computer.
Return Value
This method returns the following specific HRESULTs as well as HRESULT errors that indicate method failure.
HRESULT | Description |
---|---|
S_OK | The method completed successfully. |
E_POINTER | ppEnumerator is null. |
Requirements
Platforms: See System Requirements.
Header: MetaHost.h
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: Available since 4
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for