Microsoft SDK for Java

getInt

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

Syntax

public int getInt();

Return Value

Returns the Variant object's value converted to a Java integer.

Exceptions

ClassCastException if the variant type is not VT_I4.

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