C# Class Opc.Ua.Client.Controls.ClipboardHack

This class is used to work around a bug in the MS VPC implementation.
Clipborad operations will fail if this class is not used on VPCs with the virtual machine additions installed.
ファイルを表示 Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

Method Description
GetData ( string format ) : object

Retrieves the data from the clipboard.

SetData ( string format, object data ) : void

Saves the data in the clipboard.

Private Methods

Method Description
GetClipboardPrivate ( ) : void

Gets the data in the clipboard if it is the correct format.

SetClipboardPrivate ( ) : void

Saves the data in the clipboard if it is the correct format.

Method Details

GetData() public static method

Retrieves the data from the clipboard.
public static GetData ( string format ) : object
format string
return object

SetData() public static method

Saves the data in the clipboard.
public static SetData ( string format, object data ) : void
format string
data object
return void