Udostępnij za pośrednictwem


DocumentEventsClass Class

Definition

Microsoft Internal Use Only.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class DocumentEventsClass : EnvDTE::DocumentEvents
public ref class DocumentEventsClass
[Windows::Foundation::Metadata::WebHostHidden]
class DocumentEventsClass : EnvDTE::DocumentEvents
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispDocumentEvents\0")]
[System.Runtime.InteropServices.Guid("DC5437F7-F114-11D2-AACF-00C04F688DDE")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class DocumentEventsClass : EnvDTE.DocumentEvents
[System.Runtime.InteropServices.Guid("DC5437F7-F114-11D2-AACF-00C04F688DDE")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispDocumentEvents")]
[System.Runtime.InteropServices.ComVisible(false)]
public class DocumentEventsClass
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispDocumentEvents\0")>]
[<System.Runtime.InteropServices.Guid("DC5437F7-F114-11D2-AACF-00C04F688DDE")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type DocumentEventsClass = class
    interface _DocumentEvents
    interface DocumentEvents
    interface _dispDocumentEvents_Event
[<System.Runtime.InteropServices.Guid("DC5437F7-F114-11D2-AACF-00C04F688DDE")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispDocumentEvents")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type DocumentEventsClass = class
Public Class DocumentEventsClass
Implements DocumentEvents
Public Class DocumentEventsClass
Inheritance
DocumentEventsClass
Attributes
Implements

Remarks

Refer to DocumentEvents for this functionality. Do not instantiate this class.

Constructors

DocumentEventsClass()

This API supports the product infrastructure and is not intended to be used directly from your code.

Microsoft Internal Use Only.

Methods

add_DocumentClosing(_dispDocumentEvents_DocumentClosingEventHandler)
add_DocumentOpened(_dispDocumentEvents_DocumentOpenedEventHandler)
add_DocumentOpening(_dispDocumentEvents_DocumentOpeningEventHandler)
add_DocumentSaved(_dispDocumentEvents_DocumentSavedEventHandler)
remove_DocumentClosing(_dispDocumentEvents_DocumentClosingEventHandler)
remove_DocumentOpened(_dispDocumentEvents_DocumentOpenedEventHandler)
remove_DocumentOpening(_dispDocumentEvents_DocumentOpeningEventHandler)
remove_DocumentSaved(_dispDocumentEvents_DocumentSavedEventHandler)

Events

DocumentClosing

This API supports the product infrastructure and is not intended to be used directly from your code.

Occurs just before a document is closed.

DocumentOpened

This API supports the product infrastructure and is not intended to be used directly from your code.

Occurs after a document is opened.

DocumentOpening

This API supports the product infrastructure and is not intended to be used directly from your code.

Occurs before a document is opened.

DocumentSaved

This API supports the product infrastructure and is not intended to be used directly from your code.

Occurs when a document is saved.

Applies to