Microsoft SDK for Java

getByteRef

This method of the Variant Class retrieves the referenced value of a VT_BYREF|VT_UI1 Variant.

Syntax

public native byte getByteRef();

Return Value

Returns the Variant object's referenced value, which is converted to a Java byte.

Exceptions

ClassCastException if the Variant is of any other type.

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