UIPermissionClipboard Enum

Definition

Varning

Code Access Security is not supported or honored by the runtime.

Anger vilken typ av Åtkomst till Urklipp som tillåts till den anropande koden.

public enum class UIPermissionClipboard
[System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public enum UIPermissionClipboard
[System.Serializable]
public enum UIPermissionClipboard
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public enum UIPermissionClipboard
public enum UIPermissionClipboard
[<System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type UIPermissionClipboard = 
[<System.Serializable>]
type UIPermissionClipboard = 
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type UIPermissionClipboard = 
type UIPermissionClipboard = 
Public Enum UIPermissionClipboard
Arv
UIPermissionClipboard
Attribut

Fält

Name Värde Description
NoClipboard 0

Det går inte att använda Urklipp.

OwnClipboard 1

Möjligheten att placera data på Urklipp (Copy, Cut) är obegränsad. Inbyggda kontroller som accepterar Paste, till exempel textruta, kan acceptera Urklippsdata, men användarkontroller som måste läsa Urklipp programmatiskt kan inte.

AllClipboard 2

Urklipp kan användas utan begränsning.

Kommentarer

Caution

Code Access Security (CAS) har föråldrats i alla versioner av .NET Framework och .NET. De senaste versionerna av .NET följer inte CAS-anteckningar och skapar fel om CAS-relaterade API:er används. Utvecklare bör söka alternativa sätt att utföra säkerhetsuppgifter.

Den här uppräkningen används av UIPermission.

Gäller för

Se även