仅由 Microsoft 内部使用。
命名空间: Microsoft.Internal.VisualStudio.PlatformUI
程序集: Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)
语法
声明
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
IDataSourceCollection 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() |
Count | 获取 ICollection<T> 中包含的元素数。 (继承自 ICollection<IDataSource>。) |
![]() |
IsReadOnly | 获取一个值,该值指示 ICollection<T> 是否为只读。 (继承自 ICollection<IDataSource>。) |
![]() |
Item | 获取或设置位于指定索引处的元素。 (继承自 IList<IDataSource>。) |
![]() |
Verbs | 仅由 Microsoft 内部使用。 (继承自 IUIDispatch。) |
页首
方法
页首
事件
名称 | 说明 | |
---|---|---|
![]() |
CollectionChanged | 当集合更改时发生。 (继承自 INotifyCollectionChanged。) |
![]() |
PropertyChanged | 在更改属性值时发生。 (继承自 INotifyPropertyChanged。) |
页首
扩展方法
名称 | 说明 | |
---|---|---|
![]() |
Count | (由 Utilities 定义。) |
页首