ICorProfilerInfo11 介面

ICorProfilerInfo10 的子類別,提供在程序中取得和設定環境變數的方法。

方法

方法 描述
GetEnvironmentVariable 方法 取得環境變數。
SetEnvironmentVariable 方法 設定環境變數。

需求

平台:請參閱 .NET 支援的作業系統

標頭: CorProf.idl、CorProf.h

.NET 版本: 自 .NET Core 3.1 起提供