Share via


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)

给定关系的名称后,返回包含关系可本地化描述的 IAttachedRelationship。

GetRelationships(Object)

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

适用于