Microsoft SDK for Java

putVariantArrayRef

This method of the Variant Class replaces a SAFEARRAY data structure, which is referenced by a VT_BYREF|VT_ARRAY|VT_VARIANT Variant.

Syntax

public native void putVariantArrayRef(Variant v[]);

Note   This method can also be used to initialize a Variant object, but the preferred method is to pass a SafeArray object to the Variant constructor.

Parameters

v Provides initial values for the SAFEARRAY elements.

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