更新 : 2007 年 11 月
この API は、.NET Framework インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。
ソリューションを閉じる直前に発生します。
名前空間 : EnvDTE
アセンブリ : EnvDTE (EnvDTE.dll 内)
構文
'宣言
Public Overridable Event BeforeClosing As _dispSolutionEvents_BeforeClosingEventHandler
'使用
Dim instance As SolutionEventsClass
Dim handler As _dispSolutionEvents_BeforeClosingEventHandler
AddHandler instance.BeforeClosing, handler
public virtual event _dispSolutionEvents_BeforeClosingEventHandler BeforeClosing
public:
virtual event _dispSolutionEvents_BeforeClosingEventHandler^ BeforeClosing {
void add (_dispSolutionEvents_BeforeClosingEventHandler^ value);
void remove (_dispSolutionEvents_BeforeClosingEventHandler^ value);
}
JScript では、イベントは使用できません。
実装
_dispSolutionEvents_Event.BeforeClosing
アクセス許可
- 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。