PermissionSet.SetPermission Method (IPermission)
.NET Framework (current version)
Sets a permission to the PermissionSet, replacing any existing permission of the same type.
mscorlib (in mscorlib.dll)
member SetPermission :
perm:IPermission -> IPermission
Notes to Inheritors:
When you inherit from PermissionSet, you can change the behavior of the SetPermission method by overriding the SetPermissionImpl method.
The following code example shows the use of the SetPermission method. This code example is part of a larger example provided for the PermissionSet class.
No code example is currently available or this language may not be supported.
Return to top
Available since 1.1