다음을 통해 공유


IVsSolutionEvents.OnAfterOpenSolution(Object, Int32) Method

Definition

Notifies listening clients that the solution has been opened.

public:
 int OnAfterOpenSolution(System::Object ^ pUnkReserved, int fNewSolution);
public:
 int OnAfterOpenSolution(Platform::Object ^ pUnkReserved, int fNewSolution);
int OnAfterOpenSolution(winrt::Windows::Foundation::IInspectable const & pUnkReserved, int fNewSolution);
public int OnAfterOpenSolution (object pUnkReserved, int fNewSolution);
abstract member OnAfterOpenSolution : obj * int -> int
Public Function OnAfterOpenSolution (pUnkReserved As Object, fNewSolution As Integer) As Integer

Parameters

pUnkReserved
Object

[in] Reserved for future use.

fNewSolution
Int32

[in] true if the solution is being created. false if the solution was created previously or is being loaded.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsSolutionEvents::OnAfterOpenSolution(  
   [in] IUnknown *pUnkReserved,  
   [in] BOOL fNewSolution  
);  

Applies to