Visual Basic |
---|
Public Function PasteFromClipBoard( _ ByVal ClipboardData As String, _ Optional ByVal TargetID As String = "", _ Optional ByVal mode As Long = 0, _ Optional ByVal OrderID As Long = -1 _ ) As HResult |
- ClipboardData
- The data returned from CopyToClipboard.
- TargetID
- The ID of the folder into which the data is to be pasted.
- mode
- A value of the tagTDAPI_COPY_PASTE_MODES Enumeration.
- OrderID
- The position into which the item is to be pasted. Pass 1 to create the first child item, 2 for the second child, and so on.
After pasting, call Refresh on the folder where the item was pasted if you are going to query the folder.