ISafeControlEntryCollection 介面

表示安全控制項項目的集合。

命名空間:  Microsoft.VisualStudio.SharePoint
組件:  Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)

語法

'宣告
Public Interface ISafeControlEntryCollection _
    Inherits ISharePointCollection(Of ISafeControlEntry), INotifyCollectionChanged, INotifyPropertyChanged,  _
    IEnumerable(Of ISafeControlEntry), IEnumerable
public interface ISafeControlEntryCollection : ISharePointCollection<ISafeControlEntry>, 
    INotifyCollectionChanged, INotifyPropertyChanged, IEnumerable<ISafeControlEntry>, IEnumerable

ISafeControlEntryCollection 型別會公開下列成員。

屬性

  名稱 說明
公用屬性 Count 取得集合中的項目數目。 (繼承自 ISharePointCollection<T>)。
公用屬性 ProjectItem 取得父專案項目的參考。

回頁首

方法

  名稱 說明
公用方法 Add 將安全控制項項目加入至集合中。
公用方法 Clear 移除集合中的所有安全控制項項目。
公用方法 Contains 取得提供的項目是否為這個集合的成員。 (繼承自 ISharePointCollection<T>)。
公用方法 CopyTo 將項目從這個集合複製至陣列。 (繼承自 ISharePointCollection<T>)。
公用方法 GetEnumerator() 傳回可逐一查看集合的列舉程式。 (繼承自 IEnumerable<ISafeControlEntry>)。
公用方法 GetEnumerator() 傳回會逐一查看集合的列舉程式。 (繼承自 IEnumerable)。
公用方法 Remove 移除 ISafeControlEntryCollection 集合中的安全控制項項目。

回頁首

事件

  名稱 說明
公用事件 CollectionChanged 發生於集合變更時。 (繼承自 INotifyCollectionChanged)。
公用事件 PropertyChanged 發生於屬性值變更時。 (繼承自 INotifyPropertyChanged)。

回頁首

請參閱

參考

Microsoft.VisualStudio.SharePoint 命名空間