ICacheableAttachedCollectionSource Interface

 

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

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

public interface ICacheableAttachedCollectionSource : IAttachedCollectionSource

NameDescription
System_CAPS_pubpropertyCanCache

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

System_CAPS_pubpropertyHasItems

Determines whether this IAttachedCollectionSource has any items. (Inherited from IAttachedCollectionSource.)

System_CAPS_pubpropertyItems

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

System_CAPS_pubpropertySourceItem

Gets the object used to create this IAttachedCollectionSource.(Inherited from IAttachedCollectionSource.)

Return to top
Show: