Here is an example function that sets a hard-coded item to the clipboard. After this function has executed, the user can then find the item in a structure using Ctrl+G.

private void testClipBoard(IswItemViewHost host)


      IswClipboard clipb = host.GetClipboard();

      IswItem item = host.GetBroker().GetItem(SWHandleUtility.ToHandle("x040000000000051A"));

      IswObjects objs = host.GetBroker().Lists.NewObjectList();




Example of the use of Ctrl+G to highlight the item