Compartilhar via


IDataSourceCollection Interface

Microsoft internal use only.

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaração
Public Interface IDataSourceCollection _
    Inherits IUIDispatch, IVsUICollection, IVsUISimpleDataSource, IVsUIDispatch,  _
    IList(Of IDataSource), ICollection(Of IDataSource), IEnumerable(Of IDataSource),  _
    IEnumerable, INotifyPropertyChanged, INotifyCollectionChanged
public interface IDataSourceCollection : IUIDispatch, 
    IVsUICollection, IVsUISimpleDataSource, IVsUIDispatch, IList<IDataSource>, 
    ICollection<IDataSource>, IEnumerable<IDataSource>, IEnumerable, 
    INotifyPropertyChanged, INotifyCollectionChanged

The IDataSourceCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of elements contained in the ICollection<T>. (Inherited from ICollection<IDataSource>.)
Public property IsReadOnly Gets a value indicating whether the ICollection<T> is read-only. (Inherited from ICollection<IDataSource>.)
Public property Item Gets or sets the element at the specified index. (Inherited from IList<IDataSource>.)
Public property Verbs Microsoft internal use only. (Inherited from IUIDispatch.)

Top

Methods

  Name Description
Public method Add Adds an item to the ICollection<T>. (Inherited from ICollection<IDataSource>.)
Public method AdviseCollectionChangeEvents Registers for collection events. (Inherited from IVsUICollection.)
Public method Clear Removes all items from the ICollection<T>. (Inherited from ICollection<IDataSource>.)
Public method Close() Closes the collection. (Inherited from IVsUICollection.)
Public method Close() Closes the data source. (Inherited from IVsUISimpleDataSource.)
Public method Contains Determines whether the ICollection<T> contains a specific value. (Inherited from ICollection<IDataSource>.)
Public method CopyTo Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. (Inherited from ICollection<IDataSource>.)
Public method EnumVerbs(IVsUIEnumDataSourceVerbs%) (Inherited from IVsUICollection.)
Public method EnumVerbs(IVsUIEnumDataSourceVerbs%) Lists the verbs in a data source (Inherited from IVsUIDispatch.)
Public method EnumVerbs(IVsUIEnumDataSourceVerbs%) Returns a enumeration of verbs for the data source. (Inherited from IVsUISimpleDataSource.)
Public method get_Count Returns the number of items in the collection. (Inherited from IVsUICollection.)
Public method GetEnumerator() Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<IDataSource>.)
Public method GetEnumerator() Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public method GetItem Gets an item from the collection. (Inherited from IVsUICollection.)
Public method IndexOf Determines the index of a specific item in the IList<T>. (Inherited from IList<IDataSource>.)
Public method Insert Inserts an item to the IList<T> at the specified index. (Inherited from IList<IDataSource>.)
Public method Invoke(String, Object) Microsoft internal use only. (Inherited from IUIDispatch.)
Public method Invoke(String, Object, Object%) (Inherited from IVsUICollection.)
Public method Invoke(String, Object, Object%) Invokes a verb on a data source. (Inherited from IVsUIDispatch.)
Public method Invoke(String, Object, Object%) Executes a verb on the data source. (Inherited from IVsUISimpleDataSource.)
Public method Remove Removes the first occurrence of a specific object from the ICollection<T>. (Inherited from ICollection<IDataSource>.)
Public method RemoveAt Removes the IList<T> item at the specified index. (Inherited from IList<IDataSource>.)
Public method UnadviseCollectionChangeEvents Stops indicating collection events. (Inherited from IVsUICollection.)

Top

Events

  Name Description
Public event CollectionChanged Occurs when the collection changes. (Inherited from INotifyCollectionChanged.)
Public event PropertyChanged Occurs when a property value changes. (Inherited from INotifyPropertyChanged.)

Top

Extension Methods

  Name Description
Public Extension Method Count (Defined by Utilities.)

Top

See Also

Reference

Microsoft.Internal.VisualStudio.PlatformUI Namespace