Freigeben über


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Public Function OnBeforeCloseSolution ( _
    pUnkReserved As Object _
) As Integer
public int OnBeforeCloseSolution(
    Object pUnkReserved
)
public:
virtual int OnBeforeCloseSolution(
    Object^ pUnkReserved
) sealed
abstract OnBeforeCloseSolution : 
        pUnkReserved:Object -> int  
override OnBeforeCloseSolution : 
        pUnkReserved:Object -> int
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

Microsoft.VisualStudio.Modeling.Shell Namespace

IVsEditorFactory