Share via


DTE2.Documents Property

Gets the collection of open documents in the development environment.

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

Syntax

'Declaration
ReadOnly Property Documents As Documents
'Usage
Dim instance As DTE2 
Dim value As Documents 

value = instance.Documents
Documents Documents { get; }
property Documents^ Documents {
    Documents^ get ();
}
function get Documents () : Documents

Property Value

Type: EnvDTE.Documents
A Documents collection.

Implements

_DTE.Documents

Examples

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

.NET Framework Security

See Also

Reference

DTE2 Interface

DTE2 Members

Documents Overload

EnvDTE80 Namespace