Compartir a través de


IAttachedCollectionService Interface

Represents a service that can get attached collections for an item based on a known relationship, and that can enumerate the relationships that are supported for an item.

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

Syntax

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

The IAttachedCollectionService type exposes the following members.

Methods

  Name Description
Public method GetOrCreateCollectionSource Gets or creates an IAttachedCollectionSource instance that represents an attached collection for the given relationship on the given item.
Public method GetRelationship Given a name for a relationship, returns an IAttachedRelationship containing a localizable description of the relationship.
Public method GetRelationships Gets the set of relationships supported for a given item.

Top

See Also

Reference

Microsoft.VisualStudio.Shell Namespace