ICacheableAttachedCollectionSource.CanCache 属性

定义

获取是否可以缓存此中的项 IAttachedCollectionSource 。 如果 IAttachedCollectionSource 实例不支持对其项进行可观察的更改 (通过 System.ComponentModel.INotifyCollectionChanged) 但不应进行更改,则不应缓存这些实例,因为缓存 IAttachedCollectionSource 将永久缓存过时的集合。

public:
 property bool CanCache { bool get(); };
public:
 property bool CanCache { bool get(); };
public bool CanCache { get; }
member this.CanCache : bool
Public ReadOnly Property CanCache As Boolean

属性值

Boolean

返回 Boolean

适用于