Microsoft SDK for Java

putObject

This method of the Variant Class sets the Variant object to be type VT_UNKNOWN and clears the previous contents.

Syntax

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)

Parameters

val The new value.

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