Export (0) Print
Expand All

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.

HRESULT EnumerateInstalledRuntimes (
    [out, retval] IEnumUnknown **ppEnumerator);

ppEnumerator

[out] An enumeration of ICLRRuntimeInfo interfaces corresponding to each version of the CLR that is installed on the computer.

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.

Platforms: See .NET Framework System Requirements.

Header: MetaHost.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 4.5, 4

Show:
© 2014 Microsoft