Microsoft SDK for Java

getObjectRef

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

Syntax

public native Object getObjectRef();

Return Value

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

Exceptions

ClassCastException if the Variant is of any other type.

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