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 命名空间