Microsoft SDK for Java

getIntRef

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

Syntax

public native int getIntRef();

Return Value

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

Exceptions

ClassCastException if the Variant is of any other type.

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