TypeDescriptorPermissionAttribute.CreatePermission Method ()

.NET Framework (current version)

When overridden in a derived class, creates a permission object that can then be serialized into binary form and persistently stored along with the SecurityAction in an assembly's metadata.

Namespace:   System.Security.Permissions
Assembly:  System (in System.dll)

public override IPermission CreatePermission()

Return Value

Type: System.Security.IPermission

A serializable permission object.

.NET Framework
Available since 4.0
Return to top