Compartir a través de


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 with get
function get Documents () : Documents

Property Value

Type: EnvDTE.Documents
A Documents collection.

Examples

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

.NET Framework Security

See Also

Reference

DTE2 Interface

EnvDTE80 Namespace