This method of the Variant Class sets the Variant object to type VT_ERROR and clears the previous contents. This object is normally passed as a placeholder for a missing optional parameter.
public void putError(int val);
Note The preferred way to generate a missing parameter is to use the following code:
Variant v = new Variant(val); v.noParam();
val | new value. |