Share via


ISafeControlEntryCollection Interface

Definition

Represents a collection of safe control entries.

C#
public interface ISafeControlEntryCollection : Microsoft.VisualStudio.SharePoint.ISharePointCollection<Microsoft.VisualStudio.SharePoint.ISafeControlEntry>, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.SharePoint.ISafeControlEntry>, System.Collections.Specialized.INotifyCollectionChanged, System.ComponentModel.INotifyPropertyChanged
Implements

Properties

Count

Gets the number of items in the collection.

(Inherited from ISharePointCollection<T>)
ProjectItem

Gets a reference to the parent project item.

Methods

Add(String, String, String, Boolean)

Adds a safe control entry to the collection.

Clear()

Removes all safe control entries from the collection.

Contains(T)

Gets whether the provided item is a member of this collection.

(Inherited from ISharePointCollection<T>)
CopyTo(T[], Int32)

Copies items from this collection into an array.

(Inherited from ISharePointCollection<T>)
Remove(ISafeControlEntry)

Removes the safe control entry from the ISafeControlEntryCollection collection.

Applies to

Product Versions
SharePoint Projects 2017, 2019, 2022