Microsoft SDK for Java

putObjectRef

This method of the Variant Class replaces a value referenced by a VT_BYREF|VT_UNKNOWN Variant object.

Syntax

public native void putObjectRef(Object val);

Note   This method can also be used to initialize a Variant, but the preferred method is to use the following expression:

new Variant(Variant.VariantByref|Variant.VariantObject, val)

Parameters

val The new value.

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