共用方式為


SolutionListener.OnQueryCloseSolution 方法

這個類別和它的成員會保留給內部使用,其目的不是要供您的程式碼使用。

命名空間:  Microsoft.VisualStudio.Data.Schema.Package.Project.Internal
組件:  Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)

語法

'宣告
Public Overridable Function OnQueryCloseSolution ( _
    pUnkReserved As Object, _
    ByRef cancel As Integer _
) As Integer
public virtual int OnQueryCloseSolution(
    Object pUnkReserved,
    ref int cancel
)
public:
virtual int OnQueryCloseSolution(
    Object^ pUnkReserved, 
    int% cancel
)
abstract OnQueryCloseSolution : 
        pUnkReserved:Object * 
        cancel:int byref -> int 
override OnQueryCloseSolution : 
        pUnkReserved:Object * 
        cancel:int byref -> int 
public function OnQueryCloseSolution(
    pUnkReserved : Object, 
    cancel : int
) : int

參數

傳回值

型別:System.Int32

實作

IVsSolutionEvents3.OnQueryCloseSolution(Object, Int32%)
IVsSolutionEvents2.OnQueryCloseSolution(Object, Int32%)
IVsSolutionEvents.OnQueryCloseSolution(Object, Int32%)

.NET Framework 安全性

請參閱

參考

SolutionListener 類別

Microsoft.VisualStudio.Data.Schema.Package.Project.Internal 命名空間