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
'Usage
Dim instance As DTE2
Dim value As Documents
value = instance.Documents
Documents Documents { get; }
property Documents^ Documents {
Documents^ get ();
}
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.