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
Documents Documents { get; }
property Documents^ Documents {
    Documents^ get ();
}
abstract Documents : Documents
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

EnvDTE80 Namespace