Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Adds a safe control entry to the collection.
Namespace: Microsoft.VisualStudio.SharePoint
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Function Add ( _
namespaceName As String, _
typeName As String, _
assemblyName As String, _
isSafe As Boolean _
) As ISafeControlEntry
ISafeControlEntry Add(
string namespaceName,
string typeName,
string assemblyName,
bool isSafe
)
Parameters
namespaceName
Type: StringThe namespace of the safe control entry.
typeName
Type: StringThe type of the safe control entry.
assemblyName
Type: StringThe fully-qualified assembly name of the safe control entry.
isSafe
Type: BooleanSpecifies whether the safe control entry is safe.
Return Value
Type: Microsoft.VisualStudio.SharePoint.ISafeControlEntry
An instance of a safe control entry.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.