共用方式為


SPFeatureCollection members

Include protected members
Include inherited members

表示SPFeature物件的集合。

The SPFeatureCollection type exposes the following members.

Properties

  Name Description
Public property Count 取得集合中的許多功能。
Public property Item 從集合中取得具有指定 GUID 的功能。

Top

Methods

  Name Description
Public method Add(Guid) 啟動一項功能,利用功能定義具有指定之 ID,建立新的SPFeature物件,然後將它新增至集合。
Public method Add(Guid, Boolean) 啟動一項功能,利用功能定義具有指定之 ID,來建立新的SPFeature物件,然後將它加入至集合,選擇性地強制啟動,即使有錯誤。
Public method Add(Guid, Boolean, SPFeatureDefinitionScope) 啟動一項功能,利用功能定義具有指定之 ID 在指定的範圍內,建立新的SPFeature物件,然後將它加入至集合,選擇性地強制啟動,即使有錯誤。
Public method Add(Guid, Int32, Boolean, SPFeatureDefinitionScope) 將功能加入至集合。
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove(Guid) 從集合中移除具有指定之 ID 的功能。
Public method Remove(Guid, Boolean) 從集合中移除具有指定 GUID 的功能,並選擇性地略過錯誤。
Public method ToString (Inherited from Object.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo 將集合的元素複製到Array, Array的指定的索引處開始。
Explicit interface implemetationPrivate method IEnumerable<SPFeature>.GetEnumerator 傳回逐一查看集合的列舉值。
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator 傳回逐一查看集合的列舉值。
Explicit interface implemetationPrivate property ICollection.IsSynchronized 取得值,指出對集合的存取是否為同步 (安全執行緒)。
Explicit interface implemetationPrivate property ICollection.SyncRoot 取得用於同步化存取集合的物件。

Top

請參閱

參照

SPFeatureCollection class

Microsoft.SharePoint namespace