Microsoft SDK for Java

toByteArray

This method of the Variant Class retrieves the value of a VT_ARRAY|VT_UI1 or VT_BYREF|VT_ARRAY|VT_UI1 as a one-dimensional byte[] array. This method has been superceded by the toSafeArray method.

Syntax

public native Object toByteArray();

Return Value

Returns a byte array.

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