次の方法で共有


DocumentEventsClass クラス

この API は、.NET Framework インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

マイクロソフト内部でのみ使用します。

継承階層

Object
  EnvDTE.DocumentEventsClass

名前空間:  EnvDTE
アセンブリ:  EnvDTE (EnvDTE.dll 内)

構文

'宣言
<GuidAttribute("DC5437F7-F114-11D2-AACF-00C04F688DDE")> _
<ClassInterfaceAttribute()> _
Public Class DocumentEventsClass _
    Implements _DocumentEvents, DocumentEvents, _dispDocumentEvents_Event
[GuidAttribute("DC5437F7-F114-11D2-AACF-00C04F688DDE")]
[ClassInterfaceAttribute()]
public class DocumentEventsClass : _DocumentEvents, 
    DocumentEvents, _dispDocumentEvents_Event
[GuidAttribute(L"DC5437F7-F114-11D2-AACF-00C04F688DDE")]
[ClassInterfaceAttribute()]
public ref class DocumentEventsClass : _DocumentEvents, 
    DocumentEvents, _dispDocumentEvents_Event
[<GuidAttribute("DC5437F7-F114-11D2-AACF-00C04F688DDE")>]
[<ClassInterfaceAttribute()>]
type DocumentEventsClass =  
    class 
        interface _DocumentEvents 
        interface DocumentEvents 
        interface _dispDocumentEvents_Event 
    end
public class DocumentEventsClass implements _DocumentEvents, DocumentEvents, _dispDocumentEvents_Event

DocumentEventsClass 型で公開されるメンバーは以下のとおりです。

コンストラクター

  名前 説明
パブリック メソッド DocumentEventsClass インフラストラクチャ。 マイクロソフト内部でのみ使用します。

このページのトップへ

メソッド

  名前 説明
パブリック メソッド add_DocumentClosing インフラストラクチャ。 マイクロソフト内部でのみ使用します。
パブリック メソッド add_DocumentOpened インフラストラクチャ。 マイクロソフト内部でのみ使用します。
パブリック メソッド add_DocumentOpening インフラストラクチャ。 マイクロソフト内部でのみ使用します。
パブリック メソッド add_DocumentSaved インフラストラクチャ。 マイクロソフト内部でのみ使用します。
パブリック メソッド Equals 指定したオブジェクトが、現在のオブジェクトと等しいかどうかを判断します。 (Object から継承されます。)
プロテクト メソッド Finalize オブジェクトが、ガベージ コレクションによって収集される前に、リソースの解放とその他のクリーンアップ操作の実行を試みることができるようにします。 (Object から継承されます。)
パブリック メソッド GetHashCode 既定のハッシュ関数として機能します。 (Object から継承されます。)
パブリック メソッド GetType 現在のインスタンスの Type を取得します。 (Object から継承されます。)
プロテクト メソッド MemberwiseClone Object の簡易コピーを作成します。 (Object から継承されます。)
パブリック メソッド remove_DocumentClosing インフラストラクチャ。 マイクロソフト内部でのみ使用します。
パブリック メソッド remove_DocumentOpened インフラストラクチャ。 マイクロソフト内部でのみ使用します。
パブリック メソッド remove_DocumentOpening インフラストラクチャ。 マイクロソフト内部でのみ使用します。
パブリック メソッド remove_DocumentSaved インフラストラクチャ。 マイクロソフト内部でのみ使用します。
パブリック メソッド ToString 現在のオブジェクトを表す文字列を返します。 (Object から継承されます。)

このページのトップへ

イベント

  名前 説明
パブリック イベント DocumentClosing ドキュメントが閉じられる直前に発生します。
パブリック イベント DocumentOpened ドキュメントが開かれた後に発生します。
パブリック イベント DocumentOpening ドキュメントが開かれる前に発生します。
パブリック イベント DocumentSaved ドキュメントが保存されたときに発生します。

このページのトップへ

解説

この機能については、DocumentEvents を参照してください。 このクラスをインスタンス化しないでください。

スレッド セーフ

この型のすべてのパブリック static (Visual Basic では Shared) メンバーは、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

参照

関連項目

EnvDTE 名前空間