文件列表与另一个文件相关。
此 API 不兼容 CLS。
命名空间: Microsoft.VisualStudio.Modeling.Shell
程序集: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll 中)
语法
声明
<CLSCompliantAttribute(False)> _
Public Interface IRelatedDocList
[CLSCompliantAttribute(false)]
public interface IRelatedDocList
IRelatedDocList 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() |
RelatedDocDataList | 当前列表的只读副本。 |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
GetRegistrationCount | 获取文档已在此列表注册的次数。 |
![]() |
RegisterDependentDocument | 向此列表添加一个文档。 |
![]() |
UnregisterDependentDocument | 从该列表中移除文档。 |
页首
事件
名称 | 说明 | |
---|---|---|
![]() |
RemovingDocumentFromList | 文件从 RelatedSaveItems 列表中移除前的事件激发。 |
页首
备注
提供用于访问和管理 ModelingDocData 对象拥有的 RelatedSaveItem 列表的 SRelatedDocList 缩小