IDkmProcessLaunchEnvironmentFilter.GetAdditionalEnvironmentVariables Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Obtains any environment variables which the extension would like to add.
public:
System::String ^ GetAdditionalEnvironmentVariables(Microsoft::VisualStudio::Debugger::Start::DkmDebugLaunchSettings ^ debugLaunchSettings, Microsoft::VisualStudio::Debugger::Start::DkmProcessLaunchEnvironmentFilterScenario scenario);
public:
Platform::String ^ GetAdditionalEnvironmentVariables(Microsoft::VisualStudio::Debugger::Start::DkmDebugLaunchSettings ^ debugLaunchSettings, Microsoft::VisualStudio::Debugger::Start::DkmProcessLaunchEnvironmentFilterScenario scenario);
std::wstring GetAdditionalEnvironmentVariables(Microsoft::VisualStudio::Debugger::Start::DkmDebugLaunchSettings const & debugLaunchSettings, Microsoft::VisualStudio::Debugger::Start::DkmProcessLaunchEnvironmentFilterScenario scenario);
public string GetAdditionalEnvironmentVariables (Microsoft.VisualStudio.Debugger.Start.DkmDebugLaunchSettings debugLaunchSettings, Microsoft.VisualStudio.Debugger.Start.DkmProcessLaunchEnvironmentFilterScenario scenario);
public string? GetAdditionalEnvironmentVariables (Microsoft.VisualStudio.Debugger.Start.DkmDebugLaunchSettings debugLaunchSettings, Microsoft.VisualStudio.Debugger.Start.DkmProcessLaunchEnvironmentFilterScenario scenario);
abstract member GetAdditionalEnvironmentVariables : Microsoft.VisualStudio.Debugger.Start.DkmDebugLaunchSettings * Microsoft.VisualStudio.Debugger.Start.DkmProcessLaunchEnvironmentFilterScenario -> string
Public Function GetAdditionalEnvironmentVariables (debugLaunchSettings As DkmDebugLaunchSettings, scenario As DkmProcessLaunchEnvironmentFilterScenario) As String
Parameters
- debugLaunchSettings
- DkmDebugLaunchSettings
[In] Settings supplied during a start debugging operation from a project system or other caller of LaunchDebugTargets (or various other start debugging APIs).
[In] Enumeration of the scenarios where IDkmProcessLaunchEnvironmentFilter implementations are invoked.
Returns
[Out,Optional] One or more environment variables which should be passed to the target process. Multiple variables are separated with an embedded null ('\0'). For example: "MyVariable1=1\0MyVariable2=12".
Null or empty string are returned if the caller doesn't want to customize the environment block for this launch.