Microsoft SDK for Java

getObject

This method of the Variant Class retrieves the value of a VT_UNKNOWN Variant.

Syntax

public native Object getObject();

Return Value

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

Exceptions

ClassCastException if the variant type is not VT_UNKNOWN.

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