System.Security.Permissions (mscorlib.dll)sealed class
public sealed class UIPermissionAttribute : CodeAccessSecurityAttribute {
// Public Constructors
   public UIPermissionAttribute(SecurityAction action);
// Public Instance Properties
   public UIPermissionClipboard Clipboard{set; get; }
   public UIPermissionWindow Window{set; get; }
// Public Instance Methods
   public override IPermission CreatePermission(  );
// overrides SecurityAttribute

The UIPermissionAttribute class provides declarative syntax support for the UIPermission class. The Clipboard property takes a value from the UIPermissionClipboard enumeration to configure the access granted to the clipboard, and the Window property takes a value from the UIPermissionWindow enumeration to configure the access granted to various window elements. Setting Unrestricted to true creates a UIPermissionAttribute that represents unrestricted access to all window and clipboard functionality


System.Object System.Attribute SecurityAttribute CodeAccessSecurityAttribute UIPermissionAttribute

Valid On

Assembly, Class, Struct, Constructor, Method

    Part V: API Quick Reference