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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
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
- pUnkReserved
Type: System.Object
Reserved 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.