ICLRMetaHost::EnumerateInstalledRuntimes メソッドICLRMetaHost::EnumerateInstalledRuntimes Method
コンピューターにインストールされている共通言語ランタイム (CLR) の各バージョンの有効な ICLRRuntimeInfo インターフェイスを含む列挙を返します。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
入出力コンピューターにインストールされている CLR の各バージョンに対応する ICLRRuntimeInfo インターフェイスの列挙体。[out] An enumeration of ICLRRuntimeInfo interfaces corresponding to each version of the CLR that is installed on the computer.
戻り値Return Value
このメソッドは、次の特定の HRESULT と、メソッドの失敗を示す HRESULT エラーも返します。This method returns the following specific HRESULTs as well as HRESULT errors that indicate method failure.
HRESULTHRESULT | 説明Description |
---|---|
S_OKS_OK | メソッドは正常に完了しました。The method completed successfully. |
E_POINTERE_POINTER | ppEnumerator が null です。ppEnumerator is null. |
要件Requirements
:「システム要件」を参照してください。Platforms: See System Requirements.
ヘッダー: メタホスト .hHeader: MetaHost.h
ライブラリ: MSCorEE.dll にリソースとして含まれていますLibrary: Included as a resource in MSCorEE.dll
.NET Framework のバージョン:4 以降で使用可能Available since 4.NET Framework Versions: 4 以降で使用可能Available since 4