Microsoft SDK for Java

getUseVariant

Determines whether the data format object can receive com.ms.com.Variant objects.

Syntax

protected boolean getUseVariant();

Return Value

Returns true if the IDataFormat.format method can be called with variants; otherwise, returns false.

Remarks

By default, this method always returns false, which means variants are first converted to Java objects (such as Integer or Double objects) before the format method is called.

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