ModelingEditorFactory.OnBeforeCloseSolution Method

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

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

See Also

Reference

ModelingEditorFactory Class

ModelingEditorFactory Members

Microsoft.VisualStudio.Modeling.Shell Namespace

IVsEditorFactory