How does one use the ClipBoard object.

In VB6 we have getText and setText.

Here how should GetObject and setObject be used?
Help me with an eg?