DocumentEvents Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides document events. Use this object for functionality and refer to DocumentEventsClass for this object's documentation.
public interface class DocumentEvents : EnvDTE::_dispDocumentEvents_Event, EnvDTE::_DocumentEvents
public interface class DocumentEvents : EnvDTE::_dispDocumentEvents_Event
public interface class DocumentEvents : EnvDTE::_dispDocumentEvents_Event, EnvDTE::_DocumentEvents
__interface DocumentEvents : EnvDTE::_dispDocumentEvents_Event, EnvDTE::_DocumentEvents
[System.Runtime.InteropServices.CoClass(typeof(EnvDTE.DocumentEventsClass))]
[System.Runtime.InteropServices.Guid("DC5437F5-F114-11D2-AACF-00C04F688DDE")]
public interface DocumentEvents : EnvDTE._dispDocumentEvents_Event, EnvDTE._DocumentEvents
[System.Runtime.InteropServices.CoClass(typeof(EnvDTE.DocumentEventsClass))]
[System.Runtime.InteropServices.Guid("DC5437F5-F114-11D2-AACF-00C04F688DDE")]
[System.Runtime.InteropServices.ComVisible(false)]
public interface DocumentEvents : EnvDTE._dispDocumentEvents_Event
[<System.Runtime.InteropServices.CoClass(typeof(EnvDTE.DocumentEventsClass))>]
[<System.Runtime.InteropServices.Guid("DC5437F5-F114-11D2-AACF-00C04F688DDE")>]
type DocumentEvents = interface
interface _DocumentEvents
interface _dispDocumentEvents_Event
[<System.Runtime.InteropServices.CoClass(typeof(EnvDTE.DocumentEventsClass))>]
[<System.Runtime.InteropServices.Guid("DC5437F5-F114-11D2-AACF-00C04F688DDE")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type DocumentEvents = interface
interface _dispDocumentEvents_Event
Public Interface DocumentEvents
Implements _dispDocumentEvents_Event, _DocumentEvents
Public Interface DocumentEvents
Implements _dispDocumentEvents_Event
- Derived
- Attributes
- Implements
Examples
<System.ContextStaticAttribute()> Public WithEvents DocumentEvents As EnvDTE.DocumentEvents
Public Sub DocumentEvents_DocumentClosing(ByVal Document As EnvDTE.Document) Handles DocumentEvents.DocumentClosing
MsgBox("test")
End Sub
Remarks
The DocumentEvents
object is returned by DTE.Events.DocumentEvents
.
Methods
Events
DocumentClosing |
This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only. (Inherited from _dispDocumentEvents_Event) |
DocumentOpened |
This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only. (Inherited from _dispDocumentEvents_Event) |
DocumentOpening |
This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only. (Inherited from _dispDocumentEvents_Event) |
DocumentSaved |
This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only. (Inherited from _dispDocumentEvents_Event) |