ResolveComReference.EnvironmentVariables 属性

定义

获取或设置除了(或者有选择地重写)常规的环境块之外,应传递到生成的 tlbimp.exe 和 aximp.exe 的环境变量名称-值对的数组。Gets or sets an array of name-value pairs of environment variables that should be passed to the spawned tlbimp.exe and aximp.exe in addition to (or selectively overriding) the regular environment block.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 property cli::array <System::String ^> ^ EnvironmentVariables { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
public string[] EnvironmentVariables { get; set; }
member this.EnvironmentVariables : string[] with get, set
Public Property EnvironmentVariables As String()

属性值

String[]

环境变量的名称/值对的数组。An array of name-value pairs of environment variables.

适用于