_DTE.Documents Property

Definition

Gets the collection of open documents in the development environment.

public:
 property EnvDTE::Documents ^ Documents { EnvDTE::Documents ^ get(); };
[System.Runtime.InteropServices.DispId(220)]
public EnvDTE.Documents Documents { [System.Runtime.InteropServices.DispId(220)] get; }
[<System.Runtime.InteropServices.DispId(220)>]
[<get: System.Runtime.InteropServices.DispId(220)>]
member this.Documents : EnvDTE.Documents
Public ReadOnly Property Documents As Documents

Property Value

A Documents collection.

Attributes

Examples

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

Applies to