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 类型公开以下成员。
属性
| 名称 | 说明 | |
|---|---|---|
| .gif) | Count | 获取集合中项的数目。 (继承自 ISharePointCollection<T>。) | 
| .gif) | Item | 获取使用指定项目路径的 SharePoint 项目的实例。 | 
| .gif) | ProjectService | 获取 SharePoint 项目服务的实例。 | 
页首
方法
| 名称 | 说明 | |
|---|---|---|
| .gif) | Contains | 获取提供的项是否为此集合的成员。 (继承自 ISharePointCollection<T>。) | 
| .gif) | CopyTo | 将此集合中的项复制到数组中。 (继承自 ISharePointCollection<T>。) | 
| .gif) | Find | 查找具有指定 ID 的 SharePoint 项目的实例。 | 
| .gif) | GetEnumerator() | 返回一个循环访问集合的枚举数。 (继承自 IEnumerable<ISharePointProject>。) | 
| .gif) | GetEnumerator() | 返回一个循环访问集合的枚举数。 (继承自 IEnumerable。) | 
页首
事件
| 名称 | 说明 | |
|---|---|---|
| .gif) | CollectionChanged | 当集合更改时发生。 (继承自 INotifyCollectionChanged。) | 
| .gif) | PropertyChanged | 在更改属性值时发生。 (继承自 INotifyPropertyChanged。) | 
页首