Freigeben über


IAttachedCollectionSourceProvider Interface

Represents a service that can enumerate the relationships that exist for an object the service understands, and which can create attached collections for a relationship and object the service understands.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.12.0 (in Microsoft.VisualStudio.Shell.Immutable.12.0.dll)

Syntax

'Declaration
Public Interface IAttachedCollectionSourceProvider
public interface IAttachedCollectionSourceProvider
public interface class IAttachedCollectionSourceProvider
type IAttachedCollectionSourceProvider =  interface end
public interface IAttachedCollectionSourceProvider

The IAttachedCollectionSourceProvider type exposes the following members.

Methods

  Name Description
Public method CreateCollectionSource For a given object and relationship, create an IAttachedCollectionSource. This attached collection should contain items for the given relationship as they relate to the source item.
Public method GetRelationships For a given object, enumerate the possible relationship collections this provider knows about.

Top

See Also

Reference

Microsoft.VisualStudio.Shell Namespace