_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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft