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
'Declaration
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
public interface class IDataSourceCollection : IUIDispatch,
IVsUICollection, IVsUISimpleDataSource, IVsUIDispatch, IList<IDataSource^>,
ICollection<IDataSource^>, IEnumerable<IDataSource^>, IEnumerable,
INotifyPropertyChanged, INotifyCollectionChanged
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 | |
---|---|---|
Count | Gets the number of elements contained in the ICollection<T>. (Inherited from ICollection<IDataSource>.) | |
IsReadOnly | Gets a value indicating whether the ICollection<T> is read-only. (Inherited from ICollection<IDataSource>.) | |
Item | Gets or sets the element at the specified index. (Inherited from IList<IDataSource>.) | |
Verbs | Microsoft internal use only. (Inherited from IUIDispatch.) |
Top
Methods
Name | Description | |
---|---|---|
Add | Adds an item to the ICollection<T>. (Inherited from ICollection<IDataSource>.) | |
AdviseCollectionChangeEvents | Registers for collection events. (Inherited from IVsUICollection.) | |
Clear | Removes all items from the ICollection<T>. (Inherited from ICollection<IDataSource>.) | |
Close | Closes the collection. (Inherited from IVsUICollection.) | |
Contains | Determines whether the ICollection<T> contains a specific value. (Inherited from ICollection<IDataSource>.) | |
CopyTo | Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. (Inherited from ICollection<IDataSource>.) | |
EnumVerbs | (Inherited from IVsUICollection.) | |
get_Count | Returns the number of items in the collection. (Inherited from IVsUICollection.) | |
GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<IDataSource>.) | |
GetItem | Gets an item from the collection. (Inherited from IVsUICollection.) | |
IndexOf | Determines the index of a specific item in the IList<T>. (Inherited from IList<IDataSource>.) | |
Insert | Inserts an item to the IList<T> at the specified index. (Inherited from IList<IDataSource>.) | |
Invoke(String, Object) | Microsoft internal use only. (Inherited from IUIDispatch.) | |
Invoke(String, Object, Object%) | (Inherited from IVsUICollection.) | |
Remove | Removes the first occurrence of a specific object from the ICollection<T>. (Inherited from ICollection<IDataSource>.) | |
RemoveAt | Removes the IList<T> item at the specified index. (Inherited from IList<IDataSource>.) | |
UnadviseCollectionChangeEvents | Stops indicating collection events. (Inherited from IVsUICollection.) |
Top
Events
Name | Description | |
---|---|---|
CollectionChanged | Occurs when the collection changes. (Inherited from INotifyCollectionChanged.) | |
PropertyChanged | Occurs when a property value changes. (Inherited from INotifyPropertyChanged.) |
Top
Extension Methods
Name | Description | |
---|---|---|
Count | (Defined by Utilities.) |
Top