_DTE.Documents 属性

定义

获取开发环境中打开的文档的集合。

public:
 property EnvDTE::Documents ^ Documents { EnvDTE::Documents ^ get(); };
[System.Runtime.InteropServices.DispId(220)]
public EnvDTE.Documents Documents { [System.Runtime.InteropServices.DispId(220)] get; }
[<System.Runtime.InteropServices.DispId(220)>]
[<get: System.Runtime.InteropServices.DispId(220)>]
member this.Documents : EnvDTE.Documents
Public ReadOnly Property Documents As Documents

属性值

Documents

一个 Documents 集合。

属性

示例

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

适用于