This topic has not yet been rated - Rate this topic

DTE2.Documents Property

Gets the collection of open documents in the development environment.

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)
Documents Documents { get; }

Property Value

Type: EnvDTE.Documents
A Documents collection.
Sub DocumentsExample()
  MsgBox(DTE2.Documents.Count)
End Sub
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.