Microsoft SDK for Java

putStringRef

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

Syntax

public native void putStringRef(String val);

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

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

Parameters

val The new value.

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