IAttachedCollectionService 接口

定义

表示一项服务,该服务可以基于已知关系获取项的附加集合,并且可以枚举项支持的关系。

public interface class IAttachedCollectionService
public interface class IAttachedCollectionService
__interface IAttachedCollectionService
public interface IAttachedCollectionService
type IAttachedCollectionService = interface
Public Interface IAttachedCollectionService

方法

GetOrCreateCollectionSource(Object, String)

获取或创建一个 IAttachedCollectionSource 实例,该实例表示给定项上给定关系的附加集合。

GetRelationship(Object, String)

给定关系的名称后,将返回, Microsoft.VisualStudio.IAttachedRelationship 其中包含关系的可本地化说明。

GetRelationships(Object)

获取给定项支持的关系集。

适用于