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.
Afficher le fichier Open project: OPCFoundation/UA-.NET Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

Retrieves the data from the clipboard.
public static GetData ( string format ) : object
format string
Résultat object

SetData() public static méthode

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