_DTE.Documents Property

Definition

Gets the collection of open documents in the development environment.

C++
public:
 property EnvDTE::Documents ^ Documents { EnvDTE::Documents ^ get(); };

Property Value

A Documents collection.

Attributes

Examples

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

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019