ISafeControlEntryCollection Interface

Represents a collection of safe control entries.

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

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

The ISafeControlEntryCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of items in the collection. (Inherited from ISharePointCollection<T>.)
Public property ProjectItem Gets a reference to the parent project item.

Top

Methods

  Name Description
Public method Add Adds a safe control entry to the collection.
Public method Clear Removes all safe control entries from the collection.
Public method Contains Gets whether the provided item is a member of this collection. (Inherited from ISharePointCollection<T>.)
Public method CopyTo Copies items from this collection into an array. (Inherited from ISharePointCollection<T>.)
Public method GetEnumerator Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<ISafeControlEntry>.)
Public method Remove Removes the safe control entry from the ISafeControlEntryCollection collection.

Top

Events

  Name Description
Public event CollectionChanged Occurs when the collection changes. (Inherited from INotifyCollectionChanged.)
Public event PropertyChanged Occurs when a property value changes. (Inherited from INotifyPropertyChanged.)

Top

See Also

Reference

Microsoft.VisualStudio.SharePoint Namespace