Sdílet prostřednictvím


ISafeControlEntryCollection.Add(String, String, String, Boolean) Method

Definition

Adds a safe control entry to the collection.

public:
 Microsoft::VisualStudio::SharePoint::ISafeControlEntry ^ Add(System::String ^ namespaceName, System::String ^ typeName, System::String ^ assemblyName, bool isSafe);
public Microsoft.VisualStudio.SharePoint.ISafeControlEntry Add (string namespaceName, string typeName, string assemblyName, bool isSafe);
abstract member Add : string * string * string * bool -> Microsoft.VisualStudio.SharePoint.ISafeControlEntry
Public Function Add (namespaceName As String, typeName As String, assemblyName As String, isSafe As Boolean) As ISafeControlEntry

Parameters

namespaceName
String

The namespace of the safe control entry.

typeName
String

The type of the safe control entry.

assemblyName
String

The fully-qualified assembly name of the safe control entry.

isSafe
Boolean

Specifies whether the safe control entry is safe.

Returns

An instance of a safe control entry.

Applies to