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
Examples
Sub DocumentsExample()
MsgBox(DTE2.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.