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 modeling editor has closed.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaration
Public Function OnQueryCloseSolution ( _
pUnkReserved As Object, _
ByRef pfCancel As Integer _
) As Integer
public int OnQueryCloseSolution(
Object pUnkReserved,
ref int pfCancel
)
public:
virtual int OnQueryCloseSolution(
Object^ pUnkReserved,
int% pfCancel
) sealed
abstract OnQueryCloseSolution :
pUnkReserved:Object *
pfCancel:int byref -> int
override OnQueryCloseSolution :
pUnkReserved:Object *
pfCancel:int byref -> int
public final function OnQueryCloseSolution(
pUnkReserved : Object,
pfCancel : int
) : int
Parameters
- pUnkReserved
Type: System.Object
Reserved for future use.
- pfCancel
Type: System.Int32%
true to notify clients that the modeling editor has closed without client approval; otherwise, false.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsSolutionEvents.OnQueryCloseSolution(Object, Int32%)
.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.