ICacheableAttachedCollectionSource Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 INotifyCollectionChanged) but which do change over time should not be cached, since caching the IAttachedCollectionSource will permanently cache a stale collection. |
HasItems |
Returns true if this IAttachedCollectionSource has any items, otherwise false. Accessing HasItems does not necessarily create the items themselves. (Inherited from IAttachedCollectionSource) |
Items |
Gets (and creates, if necessary) the collection of items associated with this IAttachedCollectionSource. (Inherited from IAttachedCollectionSource) |
SourceItem |
Gets the object used to create this IAttachedCollectionSource. (Inherited from IAttachedCollectionSource) |