DTE2.Documents 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取开发环境中打开的文档的集合。
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 集合。
实现
- 属性
示例
Sub DocumentsExample()
MsgBox(DTE2.Documents.Count)
End Sub