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 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)
Syntax
'Declaration
ReadOnly Property CanCache As Boolean
bool CanCache { get; }
property bool CanCache {
bool get ();
}
abstract CanCache : bool with get
function get CanCache () : boolean
Property Value
Type: Boolean
Returns Boolean.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.