This method of the Variant Class sets the Variant object to type VT_BSTR and clears the previous contents.
public native void putString(String val);
Note The preferred way to create a VT_BSTR Variant is to use the following expression:
new Variant(val)
val | The new value. |