IRelatedDocList 接口

中的文档相关到另一个文档。

此 API 不兼容 CLS。 

命名空间:  Microsoft.VisualStudio.Modeling.Shell
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)

语法

声明
<CLSCompliantAttribute(False)> _
Public Interface IRelatedDocList
[CLSCompliantAttribute(false)]
public interface IRelatedDocList

IRelatedDocList 类型公开以下成员。

属性

  名称 说明
公共属性 RelatedDocDataList 当前的只读副本列表。

页首

方法

  名称 说明
公共方法 GetRegistrationCount 获取文档中注册该列表的次数。
公共方法 RegisterDependentDocument 添加文档到此列表。
公共方法 UnregisterDependentDocument 从此移除文档列表。

页首

事件

  名称 说明
公共事件 RemovingDocumentFromList 将激发的事件,以便在文档中的 RelatedSaveItems 前取消列表。

页首

备注

提供用于访问 SRelatedDocList 协定和管理 RelatedSaveItem 列表拥有 ModelingDocData 对象

请参见

参考

Microsoft.VisualStudio.Modeling.Shell 命名空间