Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

_DTE.Documents Property

Gets the collection of open documents in the development environment.

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

Documents Documents { get; }

Property Value

Type: EnvDTE.Documents
A Documents collection.

Sub DocumentsExample()
  MsgBox(DTE.Documents.Count)
End Sub

Community Additions

ADD
Show:
© 2015 Microsoft