Share via


Events.DocumentEvents Property

Gets the DocumentEvents that provides events for the document.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
ReadOnly Property DocumentEvents ( _
    Document As Document _
) As DocumentEvents
DocumentEvents this[
    Document Document
] { get; }
property DocumentEvents^ DocumentEvents[[InAttribute] Document^ Document] {
    DocumentEvents^ get ([InAttribute] Document^ Document);
}
abstract DocumentEvents : 
        Document:Document -> DocumentEvents with get
JScript does not support indexed properties.

Parameters

  • Document
    Type: EnvDTE.Document

    Optional. Specifies a particular document to provide events for.

Property Value

Type: EnvDTE.DocumentEvents
A DocumentEvents object.

.NET Framework Security

See Also

Reference

Events Interface

EnvDTE Namespace