DTE2.Documents Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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