ICacheableAttachedCollectionSource::CanCache Property

 

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.

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

property bool CanCache {
	bool get();
}

Property Value

Type: System::Boolean

Returns Boolean.

Return to top
Show: