Microsoft SDK for Java

putError

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.

Syntax

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();

Parameters

val new value.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.