ISharePointProjectFeatureCollection 介面
SharePoint 專案中所定義之所有 SharePoint 功能的集合。
命名空間: Microsoft.VisualStudio.SharePoint
組件: Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)
語法
'宣告
Public Interface ISharePointProjectFeatureCollection _
Inherits ISharePointCollection(Of ISharePointProjectFeature), INotifyCollectionChanged, INotifyPropertyChanged, _
IEnumerable(Of ISharePointProjectFeature), IEnumerable
public interface ISharePointProjectFeatureCollection : ISharePointCollection<ISharePointProjectFeature>,
INotifyCollectionChanged, INotifyPropertyChanged, IEnumerable<ISharePointProjectFeature>, IEnumerable
ISharePointProjectFeatureCollection 型別會公開下列成員。
屬性
名稱 | 說明 | |
---|---|---|
![]() |
Count | 取得集合中的項目數目。 (繼承自 ISharePointCollection<T>)。 |
![]() |
Item | 取得具有指定資料夾路徑的 ISharePointProjectFeature 執行個體。 |
![]() |
Project | 與功能相關聯的 ISharePointProject。 |
回頁首
方法
名稱 | 說明 | |
---|---|---|
![]() |
Add() | 加入新功能。 |
![]() |
Add(Boolean) | 加入新功能。 |
![]() |
Add(String) | 使用指定的功能名稱,新增功能。 |
![]() |
Add(String, Boolean) | 使用指定的功能名稱,新增功能。 |
![]() |
Contains | 取得提供的項目是否為這個集合的成員。 (繼承自 ISharePointCollection<T>)。 |
![]() |
CopyTo | 將項目從這個集合複製至陣列。 (繼承自 ISharePointCollection<T>)。 |
![]() |
Find | 取得具有指定 ID 的 ISharePointProjectFeature 執行個體。 |
![]() |
GetEnumerator() | 傳回可逐一查看集合的列舉程式。 (繼承自 IEnumerable<ISharePointProjectFeature>)。 |
![]() |
GetEnumerator() | 傳回會逐一查看集合的列舉程式。 (繼承自 IEnumerable)。 |
回頁首
事件
名稱 | 說明 | |
---|---|---|
![]() |
CollectionChanged | 發生於集合變更時。 (繼承自 INotifyCollectionChanged)。 |
![]() |
PropertyChanged | 發生於屬性值變更時。 (繼承自 INotifyPropertyChanged)。 |
回頁首
備註
在專案中定義的功能不一定不包含與專案相關聯的方案套件。 對於功能可以從與其他專案相關聯的套件來參考。