Microsoft SDK for Java

getVariantArrayRef

This method of the Variant Class retrieves the referenced value of a 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[] getVariantArrayRef();

Return Value

Returns the Variant's referenced value converted to a Java array of Variant objects.

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