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