Partager via


IAttachedCollectionSource Interface

Represents an object instance that can return a collection of items, and that knows whether or not any items exist without realizing the items themselves.

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

Syntax

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

The IAttachedCollectionSource type exposes the following members.

Properties

  Name Description
Public property HasItems Determines whether this IAttachedCollectionSource has any items.
Public property Items Gets (and creates, if necessary) the collection of items associatedwith this IAttachedCollectionSource.
Public property SourceItem Gets the object used to create this IAttachedCollectionSource.

Top

See Also

Reference

Microsoft.VisualStudio.Shell Namespace