ProjectItem.Document 属性

获取与项关联的 Document(如果有的话)。

命名空间:  EnvDTE
程序集:  EnvDTE(在 EnvDTE.dll 中)

语法

声明
ReadOnly Property Document As Document
Document Document { get; }
property Document^ Document {
    Document^ get ();
}
abstract Document : Document
function get Document () : Document

属性值

类型:EnvDTE.Document
Document 对象。

.NET Framework 安全性

请参见

参考

ProjectItem 接口

EnvDTE 命名空间

其他资源

如何:编译和运行自动化对象模型代码示例