ISharePointProjectCollection 接口
Visual Studio 解决方案中所有 SharePoint 项目的集合。
命名空间: Microsoft.VisualStudio.SharePoint
程序集: Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)
语法
声明
Public Interface ISharePointProjectCollection _
Inherits ISharePointCollection(Of ISharePointProject), INotifyCollectionChanged, INotifyPropertyChanged, _
IEnumerable(Of ISharePointProject), IEnumerable
public interface ISharePointProjectCollection : ISharePointCollection<ISharePointProject>,
INotifyCollectionChanged, INotifyPropertyChanged, IEnumerable<ISharePointProject>, IEnumerable
ISharePointProjectCollection 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
Count | 获取集合中项的数目。 (继承自 ISharePointCollection<T>。) | |
Item | 获取使用指定项目路径的 SharePoint 项目的实例。 | |
ProjectService | 获取 SharePoint 项目服务的实例。 |
页首
方法
名称 | 说明 | |
---|---|---|
Contains | 获取提供的项是否为此集合的成员。 (继承自 ISharePointCollection<T>。) | |
CopyTo | 将此集合中的项复制到数组中。 (继承自 ISharePointCollection<T>。) | |
Find | 查找具有指定 ID 的 SharePoint 项目的实例。 | |
GetEnumerator() | 返回一个循环访问集合的枚举数。 (继承自 IEnumerable<ISharePointProject>。) | |
GetEnumerator() | 返回一个循环访问集合的枚举数。 (继承自 IEnumerable。) |
页首
事件
名称 | 说明 | |
---|---|---|
CollectionChanged | 当集合更改时发生。 (继承自 INotifyCollectionChanged。) | |
PropertyChanged | 在更改属性值时发生。 (继承自 INotifyPropertyChanged。) |
页首