Partager via


DTE2.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.

Implements

Attributes

Examples

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

Applies to