UIPermissionClipboard 枚举

定义

指定允许调用代码的剪贴板访问权限的类型。Specifies the type of clipboard access that is allowed to the calling code.

public enum class UIPermissionClipboard
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public enum UIPermissionClipboard
type UIPermissionClipboard = 
Public Enum UIPermissionClipboard
继承
UIPermissionClipboard
属性

字段

AllClipboard 2

可以不受限制地使用剪贴板。Clipboard can be used without restriction.

NoClipboard 0

不能使用剪贴板。Clipboard cannot be used.

OwnClipboard 1

在剪贴板上放置数据的能力 (CopyCut) 不受限制。The ability to put data on the clipboard (Copy, Cut) is unrestricted. 接受 Paste 的内部控件(例如文本框)可以接受剪贴板数据,但是必须以编程方式进行读取剪贴板的用户控件不能接受剪贴板数据。Intrinsic controls that accept Paste, such as text box, can accept the clipboard data, but user controls that must programmatically read the clipboard cannot.

注解

此枚举由使用UIPermissionThis enumeration is used by UIPermission.

适用于

另请参阅