Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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.