DocumentEventsClass Class

Definition

Microsoft Internal Use Only.

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

[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
Inheritance
DocumentEventsClass
Attributes
Implements

Remarks

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

Constructors

DocumentEventsClass()

Microsoft Internal Use Only.

Events

DocumentClosing

Occurs just before a document is closed.

DocumentOpened

Occurs after a document is opened.

DocumentOpening

Occurs before a document is opened.

DocumentSaved

Occurs when a document is saved.

Extension Methods

FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)
IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

Applies to