_DTE.Documents Property

Gets the collection of open documents in the development environment.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.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.

Examples

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

.NET Framework Security

See Also

Reference

_DTE Interface

EnvDTE Namespace