Partager via


IVsSolutionBuildManager5.FindActiveProjectCfgName(Guid, String) Method

Definition

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

public:
 int FindActiveProjectCfgName(Guid % rguidProjectID, [Runtime::InteropServices::Out] System::String ^ % pbstrProjectCfgCanonicalName);
public int FindActiveProjectCfgName (ref Guid rguidProjectID, out string pbstrProjectCfgCanonicalName);
abstract member FindActiveProjectCfgName : Guid * string -> int
Public Function FindActiveProjectCfgName (ByRef rguidProjectID As Guid, ByRef pbstrProjectCfgCanonicalName As String) As Integer

Parameters

rguidProjectID
Guid

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

pbstrProjectCfgCanonicalName
String

[out] The full name of the project.

Returns

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

Applies to