Microsoft SDK for Java

toVariantArray

This method of the Variant Class retrieves the value of either a VT_ARRAY|VT_VARIANT or VT_BYREF|VT_ARRAY|VT_VARIANT Variant. The embedded array must be one-dimensional. This is an "expensive" method, which has been superceded by the toSafeArray method.

Syntax

public native Variant[] toVariantArray();

Return Value

Returns the coerced value converted to a Java array of Variants.

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