Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Notifies listening clients that the solution has been opened.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function OnAfterOpenSolution ( _
pUnkReserved As Object, _
fNewSolution As Integer _
) As Integer
'Usage
Dim instance As IVsSolutionEvents
Dim pUnkReserved As Object
Dim fNewSolution As Integer
Dim returnValue As Integer
returnValue = instance.OnAfterOpenSolution(pUnkReserved, _
fNewSolution)
int OnAfterOpenSolution(
Object pUnkReserved,
int fNewSolution
)
int OnAfterOpenSolution(
[InAttribute] Object^ pUnkReserved,
[InAttribute] int fNewSolution
)
function OnAfterOpenSolution(
pUnkReserved : Object,
fNewSolution : int
) : int
Parameters
pUnkReserved
Type: System.Object[in] Reserved for future use.
fNewSolution
Type: System.Int32[in] true if the solution is being created. false if the solution was created previously or is being loaded.
Return Value
Type: System.Int32
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
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.