Notifies listening clients that the modeling editor is about to be closed.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'Declaration
Public Function OnBeforeCloseSolution ( _
pUnkReserved As Object _
) As Integer
'Usage
Dim instance As ModelingEditorFactory
Dim pUnkReserved As Object
Dim returnValue As Integer
returnValue = instance.OnBeforeCloseSolution(pUnkReserved)
public int OnBeforeCloseSolution(
Object pUnkReserved
)
public:
virtual int OnBeforeCloseSolution(
Object^ pUnkReserved
) sealed
public final function OnBeforeCloseSolution(
pUnkReserved : Object
) : int
Parameters
pUnkReserved
Type: System.ObjectReserved for future use.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsSolutionEvents.OnBeforeCloseSolution(Object)
.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.