Bagikan melalui


IDataSourceCollection Interface

Microsoft internal use only.

This API is not CLS-compliant. 

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Interface IDataSourceCollection _
    Inherits IUIDispatch, IVsUICollection, IVsUISimpleDataSource, IVsUIDispatch,  _
    IList(Of IDataSource), ICollection(Of IDataSource), IEnumerable(Of IDataSource),  _
    IEnumerable, INotifyPropertyChanged, INotifyCollectionChanged
[CLSCompliantAttribute(false)]
public interface IDataSourceCollection : IUIDispatch, 
    IVsUICollection, IVsUISimpleDataSource, IVsUIDispatch, IList<IDataSource>, 
    ICollection<IDataSource>, IEnumerable<IDataSource>, IEnumerable, 
    INotifyPropertyChanged, INotifyCollectionChanged
[CLSCompliantAttribute(false)]
public interface class IDataSourceCollection : IUIDispatch, 
    IVsUICollection, IVsUISimpleDataSource, IVsUIDispatch, IList<IDataSource^>, 
    ICollection<IDataSource^>, IEnumerable<IDataSource^>, IEnumerable, 
    INotifyPropertyChanged, INotifyCollectionChanged
[<CLSCompliantAttribute(false)>]
type IDataSourceCollection =  
    interface
        interface IUIDispatch
        interface IVsUICollection
        interface IVsUISimpleDataSource
        interface IVsUIDispatch
        interface IList<IDataSource>
        interface ICollection<IDataSource>
        interface IEnumerable<IDataSource>
        interface IEnumerable
        interface INotifyPropertyChanged
        interface INotifyCollectionChanged
    end
public interface IDataSourceCollection extends 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 Clear Removes all items from the ICollection<T>. (Inherited from ICollection<IDataSource>.)
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 GetEnumerator Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<IDataSource>.)
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 Microsoft internal use only. (Inherited from IUIDispatch.)
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>.)

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

See Also

Reference

Microsoft.Internal.VisualStudio.PlatformUI Namespace