共用方式為


IVsSolutionLoadEvents.OnBeforeOpenSolution(String) Method

Definition

Fired before a solution open begins. Extenders can activate a solution load manager by setting VSPROPID_ActiveSolutionLoadManager.

public:
 int OnBeforeOpenSolution(System::String ^ pszSolutionFilename);
public:
 int OnBeforeOpenSolution(Platform::String ^ pszSolutionFilename);
int OnBeforeOpenSolution(std::wstring const & pszSolutionFilename);
public int OnBeforeOpenSolution (string pszSolutionFilename);
abstract member OnBeforeOpenSolution : string -> int
Public Function OnBeforeOpenSolution (pszSolutionFilename As String) As Integer

Parameters

pszSolutionFilename
String

The name of the solution file.

Returns

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

Applies to