共用方式為


GenerateResource.EnvironmentVariables Property

Definition

Array of equals-separated pairs of environment variables that should be passed to the spawned resgen.exe, in addition to (or selectively overriding) the regular environment block. These aren't currently used when resgen is run in-process.

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

Remarks

These aren't currently used when resgen is run in-process.

Applies to