Documents (DTE Object)
ID
Top
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

Documents Property (DTE Object)

Visual Studio .NET 2003

Returns the collection of open documents in the development environment.

[Visual Basic .NET]
Public ReadOnly Property Documents() As Documents
[Visual Basic 6]
Property Get Documents() As Documents
[C++]
HRESULT __stdcall get_Documents(
   /* [out, retval] */ Documents** retVal
);
[C#]
public Documents Documents {get;}
[JScript .NET]
public function get Documents() : Documents

Return Value

Returns a Documents collection.

Example

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

See Also

Documents Collection

Applies To: DTE Object

Show:
© 2016 Microsoft