Partager via


IVsProfilerLauncher.QueryProfilingEnvironment Method

Queries the profiler for the profiling environment variables.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
Function QueryProfilingEnvironment ( _
    <OutAttribute> ByRef environment As Array _
) As Integer
int QueryProfilingEnvironment(
    out Array environment
)
int QueryProfilingEnvironment(
    [OutAttribute] Array^% environment
)
abstract QueryProfilingEnvironment : 
        environment:Array byref -> int
function QueryProfilingEnvironment(
    environment : Array
) : int

Parameters

  • environment
    Type: Array%

    [out] The profiling environment variables. Each element of environment is in the form “Variable=Value”.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsProfilerLauncher Interface

Microsoft.VisualStudio.Shell.Interop Namespace