共用方式為


SolutionListener.OnBeforeCloseSolution 方法

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

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

語法

'宣告
Public Overridable Function OnBeforeCloseSolution ( _
    pUnkReserved As Object _
) As Integer
public virtual int OnBeforeCloseSolution(
    Object pUnkReserved
)
public:
virtual int OnBeforeCloseSolution(
    Object^ pUnkReserved
)
abstract OnBeforeCloseSolution : 
        pUnkReserved:Object -> int 
override OnBeforeCloseSolution : 
        pUnkReserved:Object -> int 
public function OnBeforeCloseSolution(
    pUnkReserved : Object
) : int

參數

傳回值

型別:System.Int32

實作

IVsSolutionEvents3.OnBeforeCloseSolution(Object)
IVsSolutionEvents2.OnBeforeCloseSolution(Object)
IVsSolutionEvents.OnBeforeCloseSolution(Object)

.NET Framework 安全性

請參閱

參考

SolutionListener 類別

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