ICacheableAttachedCollectionSource Interface

Definition

Represents an IAttachedCollectionSource that can potentially be cached. Cached sources do not need to be re-created each time they're requested.

public interface class ICacheableAttachedCollectionSource : Microsoft::VisualStudio::Shell::IAttachedCollectionSource
public interface class ICacheableAttachedCollectionSource : Microsoft::VisualStudio::Shell::IAttachedCollectionSource
__interface ICacheableAttachedCollectionSource : Microsoft::VisualStudio::Shell::IAttachedCollectionSource
public interface ICacheableAttachedCollectionSource : Microsoft.VisualStudio.Shell.IAttachedCollectionSource
type ICacheableAttachedCollectionSource = interface
    interface IAttachedCollectionSource
Public Interface ICacheableAttachedCollectionSource
Implements IAttachedCollectionSource
Implements

Properties

CanCache

Gets whether or not the items from this IAttachedCollectionSource can be cached. IAttachedCollectionSource instances that do not support observable changes to their items (via System.ComponentModel.INotifyCollectionChanged) but which do change over time should not be cached, since caching the IAttachedCollectionSource will permanently cache a stale collection.

HasItems

Determines whether this IAttachedCollectionSource has any items.

(Inherited from IAttachedCollectionSource)
Items

Gets (and creates, if necessary) the collection of items associatedwith this IAttachedCollectionSource.

(Inherited from IAttachedCollectionSource)
SourceItem

Gets the object used to create this IAttachedCollectionSource.

(Inherited from IAttachedCollectionSource)

Applies to