Microsoft SDK for Java

getBoolean

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

Syntax

public native boolean getBoolean();

Return Value

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

Exceptions

ClassCastException if the variant type is not VT_BOOL.

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