Share via


IVsSolutionBuildManager5.FindActiveProjectCfgName Method

Obtains the full name (for example "Debug|Win32") of the project configuration that is in the active solution configuration.

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

Syntax

'Declaration
Function FindActiveProjectCfgName ( _
    ByRef rguidProjectID As Guid, _
    <OutAttribute> ByRef pbstrProjectCfgCanonicalName As String _
) As Integer
int FindActiveProjectCfgName(
    ref Guid rguidProjectID,
    out string pbstrProjectCfgCanonicalName
)
int FindActiveProjectCfgName(
    [InAttribute] Guid% rguidProjectID, 
    [OutAttribute] String^% pbstrProjectCfgCanonicalName
)
abstract FindActiveProjectCfgName : 
        rguidProjectID:Guid byref * 
        pbstrProjectCfgCanonicalName:string byref -> int
function FindActiveProjectCfgName(
    rguidProjectID : Guid, 
    pbstrProjectCfgCanonicalName : String
) : int

Parameters

  • rguidProjectID
    Type: System.Guid%

    [in] The identifier of the project from which to get the full name.

  • pbstrProjectCfgCanonicalName
    Type: System.String%

    [out] The full name of the project.

Return Value

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

.NET Framework Security

See Also

Reference

IVsSolutionBuildManager5 Interface

Microsoft.VisualStudio.Shell.Interop Namespace