共用方式為


ResolveComReference.EnvironmentVariables Property

Definition

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.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 property cli::array <System::String ^> ^ EnvironmentVariables { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
public string[] EnvironmentVariables { get; set; }
public string[] EnvironmentVariables { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.EnvironmentVariables : string[] with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.EnvironmentVariables : string[] with get, set
Public Property EnvironmentVariables As String()

Property Value

String[]

An array of name-value pairs of environment variables.

Attributes

Applies to