_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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.