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。)

页首

请参见

参考

Microsoft.VisualStudio.SharePoint 命名空间