Microsoft SDK for Java

getCurrency

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

Syntax

public long getCurrency();

Return Value

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

Exceptions

ClassCastException if the variant type is not VT_CY.

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