Share via


IAsyncAttachedCollectionSource Interface

Definition

Represents an IAttachedCollectionSource object that can report on whether or not the HasItems property is currently being initialized, and which raises an INotifyPropertyChanged event when the IsInitializingHasItems value changes.

public interface class IAsyncAttachedCollectionSource : Microsoft::VisualStudio::Shell::IAttachedCollectionSource, System::ComponentModel::INotifyPropertyChanged
public interface IAsyncAttachedCollectionSource : Microsoft.VisualStudio.Shell.IAttachedCollectionSource, System.ComponentModel.INotifyPropertyChanged
type IAsyncAttachedCollectionSource = interface
    interface IAttachedCollectionSource
    interface INotifyPropertyChanged
Public Interface IAsyncAttachedCollectionSource
Implements IAttachedCollectionSource, INotifyPropertyChanged
Implements

Properties

HasItems

Returns true if this IAttachedCollectionSource has any items, otherwise false. Accessing HasItems does not necessarily create the items themselves.

(Inherited from IAttachedCollectionSource)
IsUpdatingHasItems

Gets whether or not the HasItems property is currently being updated. Because updating HasItems may be an asynchronous operation, consumers of the IAttachedCollectionSource may want to wait for this property to become false before deciding that there are no items.

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)

Applies to