Microsoft SDK for Java

getStringRef

This method of the Variant Class retrieves the referenced value of a VT_BYREF|VT_BSTR Variant.

Syntax

public native String getStringRef();

Return Value

Returns the Variant object's referenced value, which is converted to a Java string.

Exceptions

ClassCastException if the Variant is of any other type.

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