Microsoft SDK for Java

setClipboardAccess

This method of the UIPermission Class sets the ability to access the system clipboard. If flag is set to true, the permission object will indicate that access to the Clipboard is allowed; otherwise, it will indicate that access to the Clipboard is not allowed.

Syntax

public void setClipboardAccess(boolean flag);

Parameters

flag The flag that indicates whether access to the Clipboard should be allowed.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.