Share via


IAttachedCollectionSourceProvider2 接口

定义

表示一个服务,该服务可以枚举服务理解的对象存在的关系,并且可以为服务理解的关系和对象创建附加集合。

public interface IAttachedCollectionSourceProvider2 : Microsoft.VisualStudio.Shell.IAttachedCollectionSourceProvider
type IAttachedCollectionSourceProvider2 = interface
    interface IAttachedCollectionSourceProvider
Public Interface IAttachedCollectionSourceProvider2
Implements IAttachedCollectionSourceProvider
实现

方法

CreateCollectionSource(Object, String)

对于给定的对象和关系,创建 IAttachedCollectionSource。 此附加集合应包含给定关系的项,因为它们与源项相关。

(继承自 IAttachedCollectionSourceProvider)
GetItemsForPath(String)

检索此提供程序拥有的所有项,这些项表示指定文件路径处的文档。

GetRelationships(Object)

对于给定对象,枚举此提供程序知道的可能的关系集合。

(继承自 IAttachedCollectionSourceProvider)

适用于